Thread (19 messages) flat view 19 messages, 2 authors, 2016-06-15
DORMANTno replies

[PATCH 6/17] Document the [<head>...] and -- arguments to git-prune.

From: Nikolai Weibull <hidden>
Date: 2016-06-15 22:42:14
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

The documentation for git-prune was lacking descriptions of the head
arguments and the -- option.

Signed-off-by: Nikolai Weibull <redacted>

---

 Documentation/git-prune.txt |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

b4491eee9b9e371f4c9ea65c93be998a4f37498c
diff --git a/Documentation/git-prune.txt b/Documentation/git-prune.txt
index 3367c9b..04cea76 100644
--- a/Documentation/git-prune.txt
+++ b/Documentation/git-prune.txt
@@ -8,7 +8,7 @@ git-prune - Prunes all unreachable objec
 
 SYNOPSIS
 --------
-'git-prune' [-n]
+'git-prune' [-n] [--] [<head>...]
 
 DESCRIPTION
 -----------
@@ -26,7 +26,15 @@ OPTIONS
 -n::
 	Do not remove anything; just report what it would
 	remove.
+--::
+	Do not interpret any more arguments as options.
 
+<head>...::
+        The heads to look for unreachable objects in.  This is
+        relative to $GIT_DIR (e.g., "HEAD", "refs/heads/master").
+        When unspecified, all heads are updated to match the
+        remote repository.
+        
 
 Author
 ------
-- 
0.99.9l
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help