Skip to content

Commit eefc461

Browse files
committed
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"
2 parents f9219c0 + 8c24f5b commit eefc461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-rebase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ You can run "git stash pop" or "git stash drop" at any time.
176176

177177
finish_rebase () {
178178
apply_autostash &&
179-
git gc --auto &&
179+
{ git gc --auto || true; } &&
180180
rm -rf "$state_dir"
181181
}
182182

0 commit comments

Comments
 (0)