setup: set env $GIT_WORK_TREE when work tree is set, like $GIT_DIR
[gitweb.git] / Documentation / git-gc.txt
index e158a3b31fce6b7573a3f549a3d9e0ecbf1cdff2..273c4663c8736aa14678b35e3bf4a8de68b78faf 100644 (file)
@@ -124,6 +124,9 @@ the value, the more time is spent optimizing the delta compression.  See
 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.
+
 The optional configuration variable 'gc.pruneExpire' controls how old
 the unreferenced loose objects have to be before they are pruned.  The
 default is "2 weeks ago".