author | Greg Price <price@ksplice.com> | |
Tue, 6 Jul 2010 23:29:19 +0000 (19:29 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 7 Jul 2010 16:11:37 +0000 (09:11 -0700) | ||
commit | be7c6d467e8cc4104e1a15e8ff2d7b207624c685 | |
tree | cb23a29c9a86b0017534892ed0db31e9fe821541 | tree | snapshot |
parent | 78db709ae59da26de76264b79df3a7dc4d87e65c | commit | diff |
pack-refs: remove newly empty directories
In a large repository which uses directories to organize many refs,
"git pack-refs --all --prune" does not improve performance so much
as it should, unless we remove all the now-empty directories as well.
Signed-off-by: Greg Price <price@ksplice.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In a large repository which uses directories to organize many refs,
"git pack-refs --all --prune" does not improve performance so much
as it should, unless we remove all the now-empty directories as well.
Signed-off-by: Greg Price <price@ksplice.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-refs.c | diff | blob | history | |
t/t3210-pack-refs.sh | diff | blob | history |