Re: [PATCH v3 3/3] Documentation: a note about stdout for git rev-parse --verify --quiet
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.
>
> --sq::
> Usually the output is made one line per flag and