Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/parseopt-completion' into next
[gitweb.git]
/
git-filter-branch.sh
diff --git
a/git-filter-branch.sh
b/git-filter-branch.sh
index 98c76ec589b053c112ddc86b6821f2acf17b7ab0..2587a01b9b4fa0344c695cb635e6eed26257e9f8 100755
(executable)
--- a/
git-filter-branch.sh
+++ b/
git-filter-branch.sh
@@
-310,7
+310,7
@@
git rev-list --reverse --topo-order --default HEAD \
die "Could not get the commits"
commits=$(wc -l <../revs | tr -d " ")
-test $commits -eq 0 && die "Found nothing to rewrite"
+test $commits -eq 0 && die
_with_status 2
"Found nothing to rewrite"
# Rewrite the commits
report_progress ()