Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'tz/relnotes-1.7-on-perl' into next
[gitweb.git]
/
git-filter-branch.sh
diff --git
a/git-filter-branch.sh
b/git-filter-branch.sh
index 1b7e4b2cdbdf36e090c4b1f531dcc48222d8f8b1..c285fdb90d1a86cd2f360e3ff1768c82a7162fd5 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 ()