[PATCH v3 00/11] gc docs: modernize the advice for manually running "gc"
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Mar 22, 2019, 09:32 UTC
- Message-ID
- <20190322093242.5508-1-avarab@gmail.com>
- In-Reply-To
- <20190321205054.17109-1-avarab@gmail.com>
Patch v3 fixes a minor grammar issue noted by Junio in <xmqqtvfvphv6.fsf@gitster-ct.c.googlers.com>, and another "while I'm at it" formatting error.
Ævar Arnfjörð Bjarmason (11): gc docs: modernize the advice for manually running "gc" gc docs: stop noting "repack" flags gc docs: clean grammar for "gc.bigPackThreshold" gc docs: include the "gc.*" section from "config" in "gc" gc docs: re-flow the "gc.*" section in "config" gc docs: fix formatting for "gc.writeCommitGraph" gc docs: note how --aggressive impacts --window & --depth gc docs: downplay the usefulness of --aggressive gc docs: note "gc --aggressive" in "fast-import" gc docs: clarify that "gc" doesn't throw away referenced objects gc docs: remove incorrect reference to gc.auto=0
Documentation/config/gc.txt | 38 ++++++-- Documentation/git-fast-import.txt | 7 ++ Documentation/git-gc.txt | 142 ++++++++++-------------------- 3 files changed, 86 insertions(+), 101 deletions(-)
Range-diff:
1: 89719142c7 ! 1: a48ef8d5d8 gc docs: modernize the advice for manually running "gc"
@@ -35,7 +35,7 @@
-----------------------
-$ git config --global gc.auto 0
-----------------------
-+When common porcelain operations that creates objects are run, they
++When common porcelain operations that create objects are run, they
+will check whether the repository has grown substantially since the
+last maintenance, and if so run `git gc` automatically. See `gc.auto`
+below for how to disable this behavior.
2: d90a5b1b4c = 2: 21e66a7903 gc docs: stop noting "repack" flags
3: fedd9bb886 = 3: c8a1342e34 gc docs: clean grammar for "gc.bigPackThreshold"
4: 6fad05a67c = 4: 9163e2f885 gc docs: include the "gc.*" section from "config" in "gc"
5: 994e22a0d6 = 5: 8fa0e26671 gc docs: re-flow the "gc.*" section in "config"
-: ---------- > 6: b70396f029 gc docs: fix formatting for "gc.writeCommitGraph"
6: 916433ef73 = 7: 04ee81a3c9 gc docs: note how --aggressive impacts --window & --depth
7: 457357b464 = 8: 04af0afbcf gc docs: downplay the usefulness of --aggressive
8: d80a6021f5 = 9: c35bc94416 gc docs: note "gc --aggressive" in "fast-import"
9: a5d31faf6f = 10: 702f2cd2d9 gc docs: clarify that "gc" doesn't throw away referenced objects
10: 9fd1203ad5 = 11: 08af3cc3ee gc docs: remove incorrect reference to gc.auto=0-- 2.21.0.360.g471c308f928