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>
Junio C Hamano committed
Dec 27, 2006 at 14:23 UTC
a3c11db9ecf5c2a1ec1b25ba809cecb3747750d4
1 file changed
+1
-1
git-gc.sh
+1
-1
@@ -10,6 +10,6 @@ SUBDIRECTORY_OK=Yes
10
11
git-pack-refs --prune &&
12
git-reflog expire --all &&
13
-git-repack -a -d &&
13
+git-repack -a -d -l &&
14
git-prune &&
15
git-rerere gc || exit