Make "applypatch" use the "-E" flag to patch.
Always remove empty files, regardless of how the diff showed them to have become empty.
This commit is contained in:
parent
c9049d41b8
commit
6a9853cd45
@ -60,7 +60,7 @@ echo
|
|||||||
|
|
||||||
git-check-files $(cat $FILES) || exit 1
|
git-check-files $(cat $FILES) || exit 1
|
||||||
git-checkout-cache -q $(cat $FILES) || exit 1
|
git-checkout-cache -q $(cat $FILES) || exit 1
|
||||||
patch -u --no-backup-if-mismatch -f -p1 --fuzz=0 --input=$PATCHFILE || exit 1
|
patch -E -u --no-backup-if-mismatch -f -p1 --fuzz=0 --input=$PATCHFILE || exit 1
|
||||||
git-update-cache --add --remove $(cat $FILES) || exit 1
|
git-update-cache --add --remove $(cat $FILES) || exit 1
|
||||||
tree=$(git-write-tree) || exit 1
|
tree=$(git-write-tree) || exit 1
|
||||||
echo Wrote tree $tree
|
echo Wrote tree $tree
|
||||||
|
Loading…
Reference in New Issue
Block a user