Skip to content

Commit

Permalink
Use 'repack -a -d -l' instead of 'repack -a -d' in git-gc
Browse files Browse the repository at this point in the history
Otherwise we would end up slurping objects we borrow from
alternates.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Dec 27, 2006
1 parent 8f57b0a commit a3c11db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-gc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a3c11db

Please sign in to comment.