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 /git-am.sh | |
parent | e9b20943b7713ed7c051621f97e12713ccf98e1f (diff) | |
download | git-e0cd252eb0ba6453acd64762625b004aa4cc162b.tar.gz |
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>
Diffstat (limited to 'git-am.sh')
-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" |