Re: [PATCH 5/5] docs: MERGE_AUTOSTASH is not that special
- From
Andy Koppe <andy.koppe@gmail.com>
- Date
- Dec 16, 2023, 11:04 UTC
- Message-ID
- <f03779fa-ddf1-4a3f-b140-55f8bcaeca56@gmail.com>
- In-Reply-To
- <20231215203245.3622299-6-gitster@pobox.com>
On 15/12/2023 20:32, Junio C Hamano wrote:
Show 22 quoted lines
> A handful of manual pages called MERGE_AUTOSTASH a "special ref", > but there is nothing special about it. It merely is yet another > pseudoref. > > Signed-off-by: Junio C Hamano <gitster@pobox.com> > --- > Documentation/merge-options.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/merge-options.txt b/Documentation/merge-options.txt > index d8f7cd7ca0..3eaefc4e94 100644 > --- a/Documentation/merge-options.txt > +++ b/Documentation/merge-options.txt > @@ -191,7 +191,7 @@ endif::git-pull[] > --autostash:: > --no-autostash:: > Automatically create a temporary stash entry before the operation > - begins, record it in the special ref `MERGE_AUTOSTASH` > + begins, record it in the ref `MERGE_AUTOSTASH` > and apply it after the operation ends. This means > that you can run the operation on a dirty worktree. However, use > with care: the final stash application after a successful
Should that say 'pseudoref' instead of 'ref'?
And since MERGE_AUTOSTASH is documented here, it probably should be in gitrevisions as well.
Regards, Andy