All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs/git-gc: fix default value for `--aggressiveDepth`
@ 2017-02-24  8:46 Patrick Steinhardt
  2017-02-24  9:00 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Steinhardt @ 2017-02-24  8:46 UTC (permalink / raw)
  To: git; +Cc: Patrick Steinhardt, Jeff King

In commit 07e7dbf0d (gc: default aggressive depth to 50, 2016-08-11),
the default aggressive depth of git-gc has been changed to 50. While
git-config(1) has been updated to represent the new default value,
git-gc(1) still mentions the old value. This patch fixes it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
---
 Documentation/git-gc.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt
index 852b72c67..571b5a7e3 100644
--- a/Documentation/git-gc.txt
+++ b/Documentation/git-gc.txt
@@ -127,7 +127,7 @@ the documentation for the --window' option in linkgit:git-repack[1] for
 more details.  This defaults to 250.
 
 Similarly, the optional configuration variable `gc.aggressiveDepth`
-controls --depth option in linkgit:git-repack[1]. This defaults to 250.
+controls --depth option in linkgit:git-repack[1]. This defaults to 50.
 
 The optional configuration variable `gc.pruneExpire` controls how old
 the unreferenced loose objects have to be before they are pruned.  The
-- 
2.11.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs/git-gc: fix default value for `--aggressiveDepth`
  2017-02-24  8:46 [PATCH] docs/git-gc: fix default value for `--aggressiveDepth` Patrick Steinhardt
@ 2017-02-24  9:00 ` Jeff King
  2017-02-24 17:49   ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff King @ 2017-02-24  9:00 UTC (permalink / raw)
  To: Patrick Steinhardt; +Cc: git

On Fri, Feb 24, 2017 at 09:46:45AM +0100, Patrick Steinhardt wrote:

> In commit 07e7dbf0d (gc: default aggressive depth to 50, 2016-08-11),
> the default aggressive depth of git-gc has been changed to 50. While
> git-config(1) has been updated to represent the new default value,
> git-gc(1) still mentions the old value. This patch fixes it.

Thanks, this is obviously an improvement.

(I also grepped for "250" in Documentation; the results are thankfully
short, and the only other mentions I saw were referring to the window
size).

-Peff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs/git-gc: fix default value for `--aggressiveDepth`
  2017-02-24  9:00 ` Jeff King
@ 2017-02-24 17:49   ` Junio C Hamano
  0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2017-02-24 17:49 UTC (permalink / raw)
  To: Jeff King; +Cc: Patrick Steinhardt, git

Jeff King <peff@peff.net> writes:

> On Fri, Feb 24, 2017 at 09:46:45AM +0100, Patrick Steinhardt wrote:
>
>> In commit 07e7dbf0d (gc: default aggressive depth to 50, 2016-08-11),
>> the default aggressive depth of git-gc has been changed to 50. While
>> git-config(1) has been updated to represent the new default value,
>> git-gc(1) still mentions the old value. This patch fixes it.
>
> Thanks, this is obviously an improvement.
>
> (I also grepped for "250" in Documentation; the results are thankfully
> short, and the only other mentions I saw were referring to the window
> size).

Thanks, both.  Will queue.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-24 17:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-24  8:46 [PATCH] docs/git-gc: fix default value for `--aggressiveDepth` Patrick Steinhardt
2017-02-24  9:00 ` Jeff King
2017-02-24 17:49   ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.