diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-11-30 14:49:42 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-30 14:49:43 -0800 |
commit | 1c04cdd424b8310fceb179144dac8e829205d807 (patch) | |
tree | dc8b8ba1f72fe18d4a76b1af5e2f466532aca1b0 /Documentation | |
parent | Merge branch 'js/t1309-master-to-topic' (diff) | |
parent | gc: rename keep_base_pack variable for --keep-largest-pack (diff) | |
download | tgif-1c04cdd424b8310fceb179144dac8e829205d807.tar.xz |
Merge branch 'ab/gc-keep-base-option'
Fix an option name in "gc" documentation.
* ab/gc-keep-base-option:
gc: rename keep_base_pack variable for --keep-largest-pack
gc docs: change --keep-base-pack to --keep-largest-pack
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config/gc.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/config/gc.txt b/Documentation/config/gc.txt index 00ea0a678e..c834e07991 100644 --- a/Documentation/config/gc.txt +++ b/Documentation/config/gc.txt @@ -44,9 +44,9 @@ gc.autoDetach:: gc.bigPackThreshold:: If non-zero, all packs larger than this limit are kept when - `git gc` is run. This is very similar to `--keep-base-pack` + `git gc` is run. This is very similar to `--keep-largest-pack` except that all packs that meet the threshold are kept, not - just the base pack. Defaults to zero. Common unit suffixes of + just the largest pack. Defaults to zero. Common unit suffixes of 'k', 'm', or 'g' are supported. + Note that if the number of kept packs is more than gc.autoPackLimit, @@ -57,7 +57,7 @@ gc.autoPackLimit and gc.bigPackThreshold should be respected again. If the amount of memory estimated for `git repack` to run smoothly is not available and `gc.bigPackThreshold` is not set, the largest pack will also be excluded (this is the equivalent of running `git gc` with -`--keep-base-pack`). +`--keep-largest-pack`). gc.writeCommitGraph:: If true, then gc will rewrite the commit-graph file when |