diff options
Diffstat (limited to 'git-diff-script')
-rwxr-xr-x | git-diff-script | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/git-diff-script b/git-diff-script index 03ed555e77..926f594be4 100755 --- a/git-diff-script +++ b/git-diff-script @@ -1,7 +1,5 @@ #!/bin/sh -. git-sh-setup-script || die "Not a git archive" - -rev=($(git-rev-parse --revs-only "$@")) +rev=($(git-rev-parse --revs-only "$@")) || exit flags=($(git-rev-parse --no-revs --flags "$@")) files=($(git-rev-parse --no-revs --no-flags "$@")) case "${#rev[*]}" in |