diff options
Diffstat (limited to 'git-merge-ours.sh')
-rwxr-xr-x | git-merge-ours.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-merge-ours.sh b/git-merge-ours.sh index 4f3d053889..2b6a5c0d10 100755 --- a/git-merge-ours.sh +++ b/git-merge-ours.sh @@ -9,6 +9,6 @@ # because the current index is what we will be committing as the # merge result. -test "$(git-diff-index --cached --name-status HEAD)" = "" || exit 2 +git-diff-index --quiet --cached HEAD || exit 2 exit 0 |