summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-17 00:44:17 -0700
committerJunio C Hamano <gitster@pobox.com>2007-09-17 23:12:15 -0700
commita087cc9819d5790a0aeb42c2bd74f781c555e8d6 (patch)
tree8987c5276acacad2520e12db970e4a1158ae3adf /diff.c
parente9831e83e063844b90cf9e525d0003715dd8b395 (diff)
downloadgit-a087cc9819d5790a0aeb42c2bd74f781c555e8d6.tar.gz
git-gc --auto: protect ourselves from accumulated cruft
Deciding to run "repack -d -l" when there are too many loose objects would backfire when there are too many loose objects that are unreachable, because repacking that way would never improve the situation. Detect that case by checking the number of loose objects again after automatic garbage collection runs, and issue an warning to run "prune" manually. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions