Re: [PATCH] show-ref: add --unresolved option
- From
Jean-Noël Avila <avila.jn@gmail.com>
- Date
- Mar 6, 2024, 09:36 UTC
- Message-ID
- <ef5958e1-af3f-4869-b0e3-ff1448c0d73c@gmail.com>
- In-Reply-To
- <pull.1684.git.git.1709592718743.gitgitgadget@gmail.com>
Le 04/03/2024 à 23:51, John Cai via GitGitGadget a écrit :
Show 8 quoted lines
> From: John Cai <johncai86@gmail.com> > > @@ -76,6 +77,13 @@ OPTIONS > it does, 2 if it is missing, and 1 in case looking up the reference > failed with an error other than the reference being missing. > > +--unresolved:: > + > + Prints out what the reference points to without resolving it. Returns
Style nitpicking: we use imperative form in the descriptions of options → Print out what... Return...
Show 7 quoted lines
> + an exit code of 0 if it does, 2 if it is missing, and 1 in case looking > + up the reference failed with an error other than the reference being > + missing. > + > --abbrev[=<n>]:: > > Abbreviate the object name. When using `--hash`, you do