From 4ffcf184bb71c6c3512b3a8c144dcf4a3a76d23c Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Mon, 8 Feb 2016 16:28:56 +0100 Subject: [PATCH] gitapply.sh: Fix parsing of 'deleted file mode' git header. --- patches/gitapply.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/gitapply.sh b/patches/gitapply.sh index 06ccfe2d..25686b73 100755 --- a/patches/gitapply.sh +++ b/patches/gitapply.sh @@ -2,7 +2,7 @@ # # Wrapper to apply binary patches without git. # -# Copyright (C) 2014-2015 Sebastian Lackner +# Copyright (C) 2014-2016 Sebastian Lackner # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -237,7 +237,7 @@ awk_eof_header=' BEGIN{ ofs=1; } -!/^(--- |\+\+\+ |old |new |copy |rename |similarity |index |GIT |literal |delta )/{ +!/^(--- |\+\+\+ |old |deleted |new |copy |rename |similarity |index |GIT |literal |delta )/{ ofs=0; exit 0; } END{