diff options
author | Junio C Hamano <junkio@cox.net> | 2006-12-27 14:23:21 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-27 14:23:21 -0800 |
commit | a3c11db9ecf5c2a1ec1b25ba809cecb3747750d4 (patch) | |
tree | cdd48c94b588f40b114a1015588c154fb8b1f01f /git-gc.sh | |
parent | 8f57b0a0fbfc0a6289bbf126f10ae041f0b508aa (diff) | |
download | git-a3c11db9ecf5c2a1ec1b25ba809cecb3747750d4.tar.gz |
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>
Diffstat (limited to 'git-gc.sh')
-rwxr-xr-x | git-gc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |