X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-merge-one-file.sh;h=b86402afa5d079df8d1cf6eebb15e5727cc8a5de;hb=d3ee177e5059c81e0e73be091741f60ebfbce520;hp=d067894bf45fd0a50513e196ea2a5e671d901681;hpb=c214f2c80c70c2a3803bf1f3efc323cee5496024;p=git.git diff --git a/git-merge-one-file.sh b/git-merge-one-file.sh index d067894bf..b86402afa 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