diff options
author | Michael Stefaniuc <mstefani@redhat.com> | 2008-01-04 19:59:26 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-05 00:07:57 -0800 |
commit | e0cd252eb0ba6453acd64762625b004aa4cc162b (patch) | |
tree | 447f4746b90d1f77338ceb6cab740693008f26b1 | |
parent | t/t3800: do not use a temporary file to hold expected result. (diff) | |
download | tgif-e0cd252eb0ba6453acd64762625b004aa4cc162b.tar.xz |
git-am: Run git gc only once and not for every patch.
With "too many unreachable loose objects" git gc --auto will always
trigger. This clutters the output of git am and thus git rebase.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | git-am.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -469,9 +469,9 @@ do "$GIT_DIR"/hooks/post-applypatch fi - git gc --auto - go_next done +git gc --auto + rm -fr "$dotest" |