X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=git-merge-one-file.sh;h=b86402afa5d079df8d1cf6eebb15e5727cc8a5de;hb=bcf3d1fd9ccc04350d793c077d3c112fb26f43f0;hp=d067894bf45fd0a50513e196ea2a5e671d901681;hpb=ad336054068074ed614d0bb54bb169e5263499d7;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