Use 'repack -a -d -l' instead of 'repack -a -d' in git-gc

Otherwise we would end up slurping objects we borrow from
alternates.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2006-12-27 14:23:21 -08:00
parent 8f57b0a0fb
commit a3c11db9ec

View file

@ -10,6 +10,6 @@ SUBDIRECTORY_OK=Yes
git-pack-refs --prune &&
git-reflog expire --all &&
git-repack -a -d &&
git-repack -a -d -l &&
git-prune &&
git-rerere gc || exit