# [PATCH] docs/git-gc: fix default value for `--aggressiveDepth`

3 messages from 2017-02-24 to 2017-02-24. Participants: Patrick Steinhardt, Jeff King, Junio C Hamano.
Thread: https://gitlist.dev/t/45208

## Patrick Steinhardt, 2017-02-24 08:46

Subject: [PATCH] docs/git-gc: fix default value for `--aggressiveDepth`
Message-ID: <952cf1f2cb37b746d823f3b917bfb44171cbc465.1487925983.git.ps@pks.im>
URL: https://gitlist.dev/e/952cf1f2cb37b746d823f3b917bfb44171cbc465.1487925983.git.ps%40pks.im

```
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


```

## Jeff King, 2017-02-24 09:00

Subject: Re: [PATCH] docs/git-gc: fix default value for `--aggressiveDepth`
Message-ID: <20170224090035.ju7evvro7mixc52w@sigill.intra.peff.net>
URL: https://gitlist.dev/e/20170224090035.ju7evvro7mixc52w%40sigill.intra.peff.net
In-Reply-To: <952cf1f2cb37b746d823f3b917bfb44171cbc465.1487925983.git.ps@pks.im>

```
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

```

## Junio C Hamano, 2017-02-24 17:49

Subject: Re: [PATCH] docs/git-gc: fix default value for `--aggressiveDepth`
Message-ID: <xmqqwpcf4gz1.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqwpcf4gz1.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <20170224090035.ju7evvro7mixc52w@sigill.intra.peff.net>

```
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.

```
