X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fexamples%2Fgit-merge-ours.sh;h=29dba4ba3a57c15bd430bd23c1cebe78e6dc03be;hb=bb293b831b9d0aade79c0acf5bf6091106e7d19b;hp=c81a790aa60ea08144dd0899d1aee2ec334a1825;hpb=fa30383642c5838bd6d4c903abafcea17568abb1;p=git.git diff --git a/contrib/examples/git-merge-ours.sh b/contrib/examples/git-merge-ours.sh index c81a790aa..29dba4ba3 100755 --- a/contrib/examples/git-merge-ours.sh +++ b/contrib/examples/git-merge-ours.sh @@ -9,6 +9,6 @@ # because the current index is what we will be committing as the # merge result. -git diff-index --quiet --cached HEAD || exit 2 +git diff-index --quiet --cached HEAD -- || exit 2 exit 0