builtin-branch.c: remove unused code in append_ref() callback function
[git] / GIT-VERSION-GEN
index f221447..cb7cd4b 100755 (executable)
@@ -16,7 +16,7 @@ elif test -d .git -o -f .git &&
        case "$VN" in
        *$LF*) (exit 1) ;;
        v[0-9]*)
-               test -z "$(git diff-index --name-only HEAD)" ||
+               test -z "$(git diff-index --name-only HEAD --)" ||
                VN="$VN-dirty" ;;
        esac
 then