author | Junio C Hamano <gitster@pobox.com> | |
Mon, 17 Sep 2007 07:55:13 +0000 (00:55 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 18 Sep 2007 06:12:16 +0000 (23:12 -0700) | ||
commit | 17815501a8f95c080891acd9537514adfe17c80e | |
tree | 24a58abb997d75c363997883ebde4032ea0ebbc7 | tree | snapshot |
parent | 95143f9e686dee144e0ff4a20190b923e20e1b64 | commit | diff |
git-gc --auto: run "repack -A -d -l" as necessary.
This teaches "git-gc --auto" to consolidate many packs into one
without losing unreachable objects in them by using "repack -A"
when there are too many packfiles that are not marked with *.keep
in the repository. gc.autopacklimit configuration can be used
to set the maximum number of packs a repository is allowed to
have before this mechanism kicks in.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This teaches "git-gc --auto" to consolidate many packs into one
without losing unreachable objects in them by using "repack -A"
when there are too many packfiles that are not marked with *.keep
in the repository. gc.autopacklimit configuration can be used
to set the maximum number of packs a repository is allowed to
have before this mechanism kicks in.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | diff | blob | history | |
Documentation/git-gc.txt | diff | blob | history | |
builtin-gc.c | diff | blob | history |