From: Junio C Hamano Date: Mon, 15 Sep 2014 22:34:16 GMT Subject: Re: [PATCH v3 3/3] Documentation: a note about stdout for git rev-parse --verify --quiet Message-ID: In-Reply-To: <1410808059-1459-3-git-send-email-davvid@gmail.com> David Aguilar writes: > Signed-off-by: David Aguilar > --- > This patch is new: we now mention that stdout contains the valid object name > when --quiet is used, which may not be clear when reading this paragraph in > isolation. > > Documentation/git-rev-parse.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt > index 0b84769..fa4a8c3 100644 > --- a/Documentation/git-rev-parse.txt > +++ b/Documentation/git-rev-parse.txt > @@ -114,6 +114,7 @@ can be used. > Only meaningful in `--verify` mode. Do not output an error > message if the first argument is not a valid object name; > instead exit with non-zero status silently. > + SHA-1s for valid object names are printed to stdout on success. OK. Thanks. > > --sq:: > Usually the output is made one line per flag and