From: Junio C Hamano Date: Wed, 3 Oct 2007 10:05:32 +0000 (-0700) Subject: Merge branch 'jc/autogc' X-Git-Tag: v1.5.4-rc0~390 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0341091a9ec47576a2fdfab181145fa94c04b810;p=git.git Merge branch 'jc/autogc' * jc/autogc: git-gc --auto: run "repack -A -d -l" as necessary. git-gc --auto: restructure the way "repack" command line is built. git-gc --auto: protect ourselves from accumulated cruft git-gc --auto: add documentation. git-gc --auto: move threshold check to need_to_gc() function. repack -A -d: use --keep-unreachable when repacking pack-objects --keep-unreachable Export matches_pack_name() and fix its return value Invoke "git gc --auto" from commit, merge, am and rebase. Implement git gc --auto --- 0341091a9ec47576a2fdfab181145fa94c04b810 diff --cc builtin-pack-objects.c index a15906bdb,ba7c8da5b..0be539ed7 --- a/builtin-pack-objects.c +++ b/builtin-pack-objects.c @@@ -24,8 -20,8 +24,8 @@@ git-pack-objects [{ -q | --progress | - [--max-pack-size=N] [--local] [--incremental] \n\ [--window=N] [--window-memory=N] [--depth=N] \n\ [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset] \n\ - [--non-empty] [--revs [--unpacked | --all]*] [--reflog] \n\ + [--threads=N] [--non-empty] [--revs [--unpacked | --all]*] [--reflog] \n\ - [--stdout | base-name] [