Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/ok-to-fail-gc-auto-in-rebase' into maint
author
Junio C Hamano
<gitster@pobox.com>
Fri, 5 Feb 2016 22:54:13 +0000
(14:54 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 5 Feb 2016 22:54:13 +0000
(14:54 -0800)
"git rebase", unlike all other callers of "gc --auto", did not
ignore the exit code from "gc --auto".
* jk/ok-to-fail-gc-auto-in-rebase:
rebase: ignore failures from "gc --auto"
git-rebase.sh
patch
|
blob
|
history
raw
(from parent 1:
15f4096
)
diff --git
a/git-rebase.sh
b/git-rebase.sh
index af7ba5fd90c3000892ed31893e1812514e4f3773..cf60c4390870ef28cff08b6a173a435d41e2d470 100755
(executable)
--- a/
git-rebase.sh
+++ b/
git-rebase.sh
@@
-176,7
+176,7
@@
You can run "git stash pop" or "git stash drop" at any time.
finish_rebase () {
apply_autostash &&
-
git gc --auto
&&
+
{ git gc --auto || true; }
&&
rm -rf "$state_dir"
}