Skip to contentSkip to conversation

doc: remove unsupported parameter from patch-id

PATCH In review Andreas Heiduk 2 participants 2 messages Jul 27, 2017 – Jul 28, 2017 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: remove unsupported parameter from patch-id

The patch is read from standard input and not from a parameter.

---
 Documentation/git-patch-id.txt | 3 ---
 1 file changed, 3 deletions(-)
Documentation/git-patch-id.txt +0 -3
index cf71fba1c..442caff8a 100644
@@ -56,9 +56,6 @@ OPTIONS
 
 	This is the default.
 
-<patch>::
-	The diff to create the ID of.
-
 GIT
 ---
 Part of the linkgit:git[1] suite
Signature · 1 line
2.13.3
#1 lore raw
Quoted 12 lines · Andreas Heiduk

The patch is read from standard input and not from a parameter.

---
 Documentation/git-patch-id.txt | 3 ---
 1 file changed, 3 deletions(-)
Documentation/git-patch-id.txt +0 -0
index cf71fba1c..442caff8a 100644

Documentation/git-patch-id.txt OPTIONS · line 61

Quoted 6 lines
Documentation/git-patch-id.txt +0 -3
@@ -56,9 +56,6 @@ OPTIONS
 
 	This is the default.
 
-<patch>::
-	The diff to create the ID of.
-

Heh, I think this is a leftover from 33e8fc874 (usage: do not insist that standard input must come from a file, 2015-10-16).

Before then, the usage at the top said something like:

git patch-id < <patch>

and this "parameter" made sense. But after, we just talk about stdin in the text, and mentioning "<patch>" is simply confusing.

I looked through the other documentation touched by 33e8fc874 to see if there were other cases of this same problem, but I think this is the only one.

-Peff