Code

git-am: Run git gc only once and not for every patch.
authorMichael Stefaniuc <mstefani@redhat.com>
Fri, 4 Jan 2008 18:59:26 +0000 (19:59 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 5 Jan 2008 08:07:57 +0000 (00:07 -0800)
commite0cd252eb0ba6453acd64762625b004aa4cc162b
tree447f4746b90d1f77338ceb6cab740693008f26b1
parente9b20943b7713ed7c051621f97e12713ccf98e1f
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>
git-am.sh