gc docs: re-flow the "gc.*" section in "config"

Re-flow the "gc.*" section in "config". A previous commit moved this
over from the "gc" docs, but tried to keep as many of the lines
identical to benefit from diff's move detection.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2019-04-07 21:52:11 +02:00 committed by Junio C Hamano
parent b6a8d09f6d
commit d257e0fb0a

View File

@ -53,9 +53,9 @@ will be repacked. After this the number of packs should go below
gc.autoPackLimit and gc.bigPackThreshold should be respected again. gc.autoPackLimit and gc.bigPackThreshold should be respected again.
+ +
If the amount of memory estimated for `git repack` to run smoothly is If the amount of memory estimated for `git repack` to run smoothly is
not available and `gc.bigPackThreshold` is not set, the largest not available and `gc.bigPackThreshold` is not set, the largest pack
pack will also be excluded (this is the equivalent of running `git gc` will also be excluded (this is the equivalent of running `git gc` with
with `--keep-base-pack`). `--keep-base-pack`).
gc.writeCommitGraph:: gc.writeCommitGraph::
If true, then gc will rewrite the commit-graph file when If true, then gc will rewrite the commit-graph file when
@ -115,12 +115,11 @@ gc.<pattern>.reflogExpireUnreachable::
in the middle, the setting applies only to the refs that in the middle, the setting applies only to the refs that
match the <pattern>. match the <pattern>.
+ +
These types of entries are generally created as These types of entries are generally created as a result of using `git
a result of using `git commit --amend` or `git rebase` and are the commit --amend` or `git rebase` and are the commits prior to the amend
commits prior to the amend or rebase occurring. Since these changes or rebase occurring. Since these changes are not part of the current
are not part of the current project most users will want to expire project most users will want to expire them sooner, which is why the
them sooner, which is why the default is more aggressive than default is more aggressive than `gc.reflogExpire`.
`gc.reflogExpire`.
gc.rerereResolved:: gc.rerereResolved::
Records of conflicted merge you resolved earlier are Records of conflicted merge you resolved earlier are