threads / patch / 50626

patchdocs/git-gc: fix typo "--prune=all" to "--prune=now"

Subject: [PATCH] docs/git-gc: fix typo "--prune=all" to "--prune=now"

## tl;dr

One message between Mar 2, 2019 and Mar 2, 2019. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Robert P. J. Day· Mar 2, 2019, 08:51 UTC · lore
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
Show changes to Documentation/git-gc.txt +1 −1
diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt
index a7442499f6..a7c1b0f60e 100644
--- a/Documentation/git-gc.txt
+++ b/Documentation/git-gc.txt
@@ -76,7 +76,7 @@ be performed as well.
 --prune=<date>::
 	Prune loose objects older than date (default is 2 weeks ago,
 	overridable by the config variable `gc.pruneExpire`).
-	--prune=all prunes loose objects regardless of their age and
+	--prune=now prunes loose objects regardless of their age and
 	increases the risk of corruption if another process is writing to
 	the repository concurrently; see "NOTES" below. --prune is on by
 	default.
-- 
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

← back to recent threads