threads / patch / 10371

patch, 2 partsDocumentation/git-gc: explain --auto in description

Subject: [PATCH 1/2] Documentation/git-gc: explain --auto in description

## tl;dr

One message between Oct 19, 2007 and Oct 19, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jeff King· Oct 19, 2007, 02:01 UTC · lore

Now that git-gc --auto tells the user to look at the man page, it makes sense to mention the auto behavior near the top (since this is likely to be most users' first exposure to git-gc).

Signed-off-by: Jeff King <peff@peff.net>
---
 Documentation/git-gc.txt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Show changes to Documentation/git-gc.txt +2 −1
diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt
index b9d5660..83843a5 100644
--- a/Documentation/git-gc.txt
+++ b/Documentation/git-gc.txt
@@ -19,7 +19,8 @@ created from prior invocations of gitlink:git-add[1].
 
 Users are encouraged to run this task on a regular basis within
 each repository to maintain good disk space utilization and good
-operating performance.
+operating performance. Some git commands may automatically run
+`git-gc`; see the `--auto` flag below for details.
 
 OPTIONS
 -------
-- 
1.5.3.4.1249.g895be-dirty

← back to recent threads