From: Ramkumar Ramachandra Date: Tue, 18 Jun 2013 17:13:28 GMT Subject: [PATCH 5/5] name-rev doc: rewrite --stdin paragraph Message-ID: <1371575608-9980-6-git-send-email-artagnon@gmail.com> In-Reply-To: <1371575608-9980-1-git-send-email-artagnon@gmail.com> Signed-off-by: Ramkumar Ramachandra --- Documentation/git-name-rev.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/git-name-rev.txt b/Documentation/git-name-rev.txt index 5cd0d0d..67f0487 100644 --- a/Documentation/git-name-rev.txt +++ b/Documentation/git-name-rev.txt @@ -31,8 +31,10 @@ OPTIONS List all commits reachable from all refs --stdin:: - Read from stdin, append "()" to all sha1's of nameable - commits, and pass to stdout + Transform stdin by substituting all the 40-character SHA-1 + hexes (say $hex) with "$hex ($rev_name)". When used with + --name-only, substitute with "$rev_name", omitting $hex + altogether. Intended for the scripter's use. --name-only:: Instead of printing both the SHA-1 and the name, print only -- 1.8.3.1.456.gb7f4cb6.dirty