Merge branch 'jk/ok-to-fail-gc-auto-in-rebase'

"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"
This commit is contained in:
Junio C Hamano 2016-01-26 15:40:29 -08:00
commit eefc461ce3

View file

@ -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"
}