Skip to content

Commit

Permalink
Merge branch 'jk/ok-to-fail-gc-auto-in-rebase'
Browse files Browse the repository at this point in the history
"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"
  • Loading branch information
Junio C Hamano committed Jan 26, 2016
2 parents f9219c0 + 8c24f5b commit eefc461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-rebase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit eefc461

Please sign in to comment.