diff mbox series

[5/5] docs: MERGE_AUTOSTASH is not that special

Message ID 20231215203245.3622299-6-gitster@pobox.com (mailing list archive)
State Accepted
Commit bc62d27d5c2379505436cb8968c153c8b3a25d39
Headers show
Series make room for "special ref" | expand

Commit Message

Junio C Hamano Dec. 15, 2023, 8:32 p.m. UTC
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(-)

Comments

Andy Koppe Dec. 16, 2023, 11:04 a.m. UTC | #1
On 15/12/2023 20:32, Junio C Hamano wrote:
> 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
diff mbox series

Patch

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