X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=git-merge-one-file.sh;h=b86402afa5d079df8d1cf6eebb15e5727cc8a5de;hb=d48b28418355ef41a9501eb28a82ec0b69e62a17;hp=d067894bf45fd0a50513e196ea2a5e671d901681;hpb=cc64c6970a0d50ecb75ba902d406bac7ea461f97;p=thirdparty%2Fgit.git diff --git a/git-merge-one-file.sh b/git-merge-one-file.sh index d067894bf4..b86402afa5 100755 --- a/git-merge-one-file.sh +++ b/git-merge-one-file.sh @@ -107,7 +107,7 @@ case "${1:-.}${2:-.}${3:-.}" in # remove lines that are unique to ours. orig=`git-unpack-file $2` sz0=`wc -c <"$orig"` - diff -u -La/$orig -Lb/$orig $orig $src2 | git apply --no-add + @@DIFF@@ -u -La/$orig -Lb/$orig $orig $src2 | git apply --no-add sz1=`wc -c <"$orig"` # If we do not have enough common material, it is not