git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3 3/3] Documentation: a note about stdout for git rev-parse --verify --quiet

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 15, 2014, 22:34 UTC
Message-ID
<xmqqbnqg4ion.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1410808059-1459-3-git-send-email-davvid@gmail.com>
David Aguilar <davvid@gmail.com> writes:
Show 18 quoted lines
> Signed-off-by: David Aguilar <davvid@gmail.com>
> ---
> 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
Previous: David AguilarNext: Junio C Hamano
Message 4 of 7 in “t1503: test rev-parse --verify --quiet with deleted reflogs”
  1. 1/3 t1503: test rev-parse --verify --quiet with deleted reflogsDavid Aguilar, Sep 15, 2014
  2. 2/3 t1503: use test_must_be_emptyDavid Aguilar, Sep 15, 2014
  3. 3/3 Documentation: a note about stdout for git rev-parse --verify --quietDavid Aguilar, Sep 15, 2014
  4. Junio C HamanoSep 15, 2014
  5. Junio C HamanoSep 15, 2014
  6. Junio C HamanoSep 15, 2014
  7. David AguilarSep 16, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.