* [PATCH] doc: rerere-options.adoc: link to git-rerere(1)
@ 2026-02-09 18:13 kristofferhaugsbakk
2026-02-09 21:57 ` D. Ben Knoble
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: kristofferhaugsbakk @ 2026-02-09 18:13 UTC (permalink / raw)
To: git; +Cc: Kristoffer Haugsbakk
From: Kristoffer Haugsbakk <code@khaugsbakk.name>
Five commands include these options. Let’s link to the command so that
the curious user can learn more about what “rerere” is about.
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
---
Notes (series):
Topic name: kh/doc-link-rerere
Documentation/rerere-options.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
index b0b920144a6..115882edab1 100644
--- a/Documentation/rerere-options.adoc
+++ b/Documentation/rerere-options.adoc
@@ -4,6 +4,6 @@
the current conflict to update the files in the working
tree, allow it to also update the index with the result of
resolution. `--no-rerere-autoupdate` is a good way to
- double-check what `rerere` did and catch potential
+ double-check what linkgit:git-rerere[1] did and catch potential
mismerges, before committing the result to the index with a
separate `git add`.
base-commit: 67ad42147a7acc2af6074753ebd03d904476118f
--
2.53.0.26.g2afa8602a26
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH] doc: rerere-options.adoc: link to git-rerere(1)
2026-02-09 18:13 [PATCH] doc: rerere-options.adoc: link to git-rerere(1) kristofferhaugsbakk
@ 2026-02-09 21:57 ` D. Ben Knoble
2026-02-09 22:21 ` Junio C Hamano
2026-02-09 22:23 ` Kristoffer Haugsbakk
2026-02-10 19:56 ` [PATCH v2] " kristofferhaugsbakk
2026-02-11 7:14 ` [PATCH] " Jean-Noël Avila
2 siblings, 2 replies; 10+ messages in thread
From: D. Ben Knoble @ 2026-02-09 21:57 UTC (permalink / raw)
To: kristofferhaugsbakk; +Cc: git, Kristoffer Haugsbakk
On Mon, Feb 9, 2026 at 1:14 PM <kristofferhaugsbakk@fastmail.com> wrote:
>
> From: Kristoffer Haugsbakk <code@khaugsbakk.name>
>
> Five commands include these options. Let’s link to the command so that
> the curious user can learn more about what “rerere” is about.
>
> Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
> ---
>
> Notes (series):
> Topic name: kh/doc-link-rerere
>
> Documentation/rerere-options.adoc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
> index b0b920144a6..115882edab1 100644
> --- a/Documentation/rerere-options.adoc
> +++ b/Documentation/rerere-options.adoc
> @@ -4,6 +4,6 @@
> the current conflict to update the files in the working
> tree, allow it to also update the index with the result of
> resolution. `--no-rerere-autoupdate` is a good way to
> - double-check what `rerere` did and catch potential
> + double-check what linkgit:git-rerere[1] did and catch potential
> mismerges, before committing the result to the index with a
> separate `git add`.
Minor: should this adjacent be linkgit too? I thought yes, but on
second read we really are talking about the command.
Anyway, agreed that rerere should get linked. Thanks!
--
D. Ben Knoble
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] doc: rerere-options.adoc: link to git-rerere(1)
2026-02-09 21:57 ` D. Ben Knoble
@ 2026-02-09 22:21 ` Junio C Hamano
2026-02-09 23:12 ` Ben Knoble
2026-02-09 22:23 ` Kristoffer Haugsbakk
1 sibling, 1 reply; 10+ messages in thread
From: Junio C Hamano @ 2026-02-09 22:21 UTC (permalink / raw)
To: D. Ben Knoble; +Cc: kristofferhaugsbakk, git, Kristoffer Haugsbakk
"D. Ben Knoble" <ben.knoble@gmail.com> writes:
>> diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
>> index b0b920144a6..115882edab1 100644
>> --- a/Documentation/rerere-options.adoc
>> +++ b/Documentation/rerere-options.adoc
>> @@ -4,6 +4,6 @@
>> the current conflict to update the files in the working
>> tree, allow it to also update the index with the result of
>> resolution. `--no-rerere-autoupdate` is a good way to
>> - double-check what `rerere` did and catch potential
>> + double-check what linkgit:git-rerere[1] did and catch potential
>> mismerges, before committing the result to the index with a
>> separate `git add`.
>
> Minor: should this adjacent be linkgit too? I thought yes, but on
> second read we really are talking about the command.
>
> Anyway, agreed that rerere should get linked. Thanks!
If you are happy with the end result, I would not complain, but
which _other_ potential thing were you wondering if it should
acquire "linkgit:"?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] doc: rerere-options.adoc: link to git-rerere(1)
2026-02-09 22:21 ` Junio C Hamano
@ 2026-02-09 23:12 ` Ben Knoble
0 siblings, 0 replies; 10+ messages in thread
From: Ben Knoble @ 2026-02-09 23:12 UTC (permalink / raw)
To: Junio C Hamano; +Cc: kristofferhaugsbakk, git, Kristoffer Haugsbakk
> Le 9 févr. 2026 à 17:21, Junio C Hamano <gitster@pobox.com> a écrit :
>
> "D. Ben Knoble" <ben.knoble@gmail.com> writes:
>
>>> diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
>>> index b0b920144a6..115882edab1 100644
>>> --- a/Documentation/rerere-options.adoc
>>> +++ b/Documentation/rerere-options.adoc
>>> @@ -4,6 +4,6 @@
>>> the current conflict to update the files in the working
>>> tree, allow it to also update the index with the result of
>>> resolution. `--no-rerere-autoupdate` is a good way to
>>> - double-check what `rerere` did and catch potential
>>> + double-check what linkgit:git-rerere[1] did and catch potential
>>> mismerges, before committing the result to the index with a
>>> separate `git add`.
>> Minor: should this adjacent be linkgit too? I thought yes, but on
>> second read we really are talking about the command.
>> Anyway, agreed that rerere should get linked. Thanks!
>
> If you are happy with the end result, I would not complain, but
> which _other_ potential thing were you wondering if it should
> acquire "linkgit:"?
Doh, typo: the « git add » as Kristoffer read my mind ;)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] doc: rerere-options.adoc: link to git-rerere(1)
2026-02-09 21:57 ` D. Ben Knoble
2026-02-09 22:21 ` Junio C Hamano
@ 2026-02-09 22:23 ` Kristoffer Haugsbakk
1 sibling, 0 replies; 10+ messages in thread
From: Kristoffer Haugsbakk @ 2026-02-09 22:23 UTC (permalink / raw)
To: D. Ben Knoble; +Cc: git, Kristoffer Haugsbakk
On Mon, Feb 9, 2026, at 22:57, D. Ben Knoble wrote:
>>[snip]
>> diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
>> index b0b920144a6..115882edab1 100644
>> --- a/Documentation/rerere-options.adoc
>> +++ b/Documentation/rerere-options.adoc
>> @@ -4,6 +4,6 @@
>> the current conflict to update the files in the working
>> tree, allow it to also update the index with the result of
>> resolution. `--no-rerere-autoupdate` is a good way to
>> - double-check what `rerere` did and catch potential
>> + double-check what linkgit:git-rerere[1] did and catch potential
>> mismerges, before committing the result to the index with a
>> separate `git add`.
>
> Minor: should this adjacent be linkgit too? I thought yes, but on
> second read we really are talking about the command.
>
> Anyway, agreed that rerere should get linked. Thanks!
The `git add`? Good question. I considered it. At first it seemed like
too much of a “apply this command”, if that even makes sense. But now I
think rendering it as
separate git-add(1).
Makes sense.
Thanks for taking a look. :)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2] doc: rerere-options.adoc: link to git-rerere(1)
2026-02-09 18:13 [PATCH] doc: rerere-options.adoc: link to git-rerere(1) kristofferhaugsbakk
2026-02-09 21:57 ` D. Ben Knoble
@ 2026-02-10 19:56 ` kristofferhaugsbakk
2026-02-10 21:33 ` D. Ben Knoble
2026-02-11 7:14 ` [PATCH] " Jean-Noël Avila
2 siblings, 1 reply; 10+ messages in thread
From: kristofferhaugsbakk @ 2026-02-10 19:56 UTC (permalink / raw)
To: git; +Cc: Kristoffer Haugsbakk, ben.knoble
From: Kristoffer Haugsbakk <code@khaugsbakk.name>
Five commands include these options. Let’s link to the command so that
the curious user can learn more about what “rerere” is about.
It’s also better to consistently refer to things like
e.g. “git-subcommand(1)” over `git subcommand` or `subcommand`.
Also apply the same treatment to git-add(1).
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
---
Notes (series):
Topic name (applied): kh/doc-rerere-options-xref
v2: Same for git-add(1) and expand on the more general point of it all.
Documentation/rerere-options.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
index b0b920144a6..4395fe05356 100644
--- a/Documentation/rerere-options.adoc
+++ b/Documentation/rerere-options.adoc
@@ -4,6 +4,6 @@
the current conflict to update the files in the working
tree, allow it to also update the index with the result of
resolution. `--no-rerere-autoupdate` is a good way to
- double-check what `rerere` did and catch potential
+ double-check what linkgit:git-rerere[1] did and catch potential
mismerges, before committing the result to the index with a
- separate `git add`.
+ separate linkgit:git-add[1].
Interdiff against v1:
diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
index 115882edab1..4395fe05356 100644
--- a/Documentation/rerere-options.adoc
+++ b/Documentation/rerere-options.adoc
@@ -6,4 +6,4 @@
resolution. `--no-rerere-autoupdate` is a good way to
double-check what linkgit:git-rerere[1] did and catch potential
mismerges, before committing the result to the index with a
- separate `git add`.
+ separate linkgit:git-add[1].
base-commit: 67ad42147a7acc2af6074753ebd03d904476118f
--
2.53.0.26.g2afa8602a26
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH v2] doc: rerere-options.adoc: link to git-rerere(1)
2026-02-10 19:56 ` [PATCH v2] " kristofferhaugsbakk
@ 2026-02-10 21:33 ` D. Ben Knoble
0 siblings, 0 replies; 10+ messages in thread
From: D. Ben Knoble @ 2026-02-10 21:33 UTC (permalink / raw)
To: kristofferhaugsbakk; +Cc: git, Kristoffer Haugsbakk
On Tue, Feb 10, 2026 at 2:57 PM <kristofferhaugsbakk@fastmail.com> wrote:
>
> From: Kristoffer Haugsbakk <code@khaugsbakk.name>
>
> Five commands include these options. Let’s link to the command so that
> the curious user can learn more about what “rerere” is about.
>
> It’s also better to consistently refer to things like
> e.g. “git-subcommand(1)” over `git subcommand` or `subcommand`.
>
> Also apply the same treatment to git-add(1).
>
> Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
> ---
>
> Notes (series):
> Topic name (applied): kh/doc-rerere-options-xref
>
> v2: Same for git-add(1) and expand on the more general point of it all.
>
> Documentation/rerere-options.adoc | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
> index b0b920144a6..4395fe05356 100644
> --- a/Documentation/rerere-options.adoc
> +++ b/Documentation/rerere-options.adoc
> @@ -4,6 +4,6 @@
> the current conflict to update the files in the working
> tree, allow it to also update the index with the result of
> resolution. `--no-rerere-autoupdate` is a good way to
> - double-check what `rerere` did and catch potential
> + double-check what linkgit:git-rerere[1] did and catch potential
> mismerges, before committing the result to the index with a
> - separate `git add`.
> + separate linkgit:git-add[1].
>
> Interdiff against v1:
> diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
> index 115882edab1..4395fe05356 100644
> --- a/Documentation/rerere-options.adoc
> +++ b/Documentation/rerere-options.adoc
> @@ -6,4 +6,4 @@
> resolution. `--no-rerere-autoupdate` is a good way to
> double-check what linkgit:git-rerere[1] did and catch potential
> mismerges, before committing the result to the index with a
> - separate `git add`.
> + separate linkgit:git-add[1].
>
> base-commit: 67ad42147a7acc2af6074753ebd03d904476118f
> --
> 2.53.0.26.g2afa8602a26
Excellent, thanks for also including the rationale. LGTM!
--
D. Ben Knoble
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] doc: rerere-options.adoc: link to git-rerere(1)
2026-02-09 18:13 [PATCH] doc: rerere-options.adoc: link to git-rerere(1) kristofferhaugsbakk
2026-02-09 21:57 ` D. Ben Knoble
2026-02-10 19:56 ` [PATCH v2] " kristofferhaugsbakk
@ 2026-02-11 7:14 ` Jean-Noël Avila
2026-02-11 15:43 ` Junio C Hamano
2 siblings, 1 reply; 10+ messages in thread
From: Jean-Noël Avila @ 2026-02-11 7:14 UTC (permalink / raw)
To: kristofferhaugsbakk, git; +Cc: Kristoffer Haugsbakk
Le 09/02/2026 à 19:13, kristofferhaugsbakk@fastmail.com a écrit :
> From: Kristoffer Haugsbakk <code@khaugsbakk.name>
>
> Five commands include these options. Let’s link to the command so that
> the curious user can learn more about what “rerere” is about.
>
> Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
> ---
>
> Notes (series):
> Topic name: kh/doc-link-rerere
>
> Documentation/rerere-options.adoc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
> index b0b920144a6..115882edab1 100644
> --- a/Documentation/rerere-options.adoc
> +++ b/Documentation/rerere-options.adoc
> @@ -4,6 +4,6 @@
> the current conflict to update the files in the working
> tree, allow it to also update the index with the result of
> resolution. `--no-rerere-autoupdate` is a good way to
> - double-check what `rerere` did and catch potential
> + double-check what linkgit:git-rerere[1] did and catch potential
> mismerges, before committing the result to the index with a
> separate `git add`.
>
> base-commit: 67ad42147a7acc2af6074753ebd03d904476118f
I'm not fond of introducing linkgit macro that can create auto-reference
in manual pages. At the moment, we need to use conditional inclusion in
the manual pages source, but I wonder if we could simply filter out the
links in the macro itself.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] doc: rerere-options.adoc: link to git-rerere(1)
2026-02-11 7:14 ` [PATCH] " Jean-Noël Avila
@ 2026-02-11 15:43 ` Junio C Hamano
2026-02-12 5:37 ` Jean-Noël Avila
0 siblings, 1 reply; 10+ messages in thread
From: Junio C Hamano @ 2026-02-11 15:43 UTC (permalink / raw)
To: Jean-Noël Avila; +Cc: kristofferhaugsbakk, git, Kristoffer Haugsbakk
Jean-Noël Avila <jn.avila@free.fr> writes:
>> diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
>> index b0b920144a6..115882edab1 100644
>> --- a/Documentation/rerere-options.adoc
>> +++ b/Documentation/rerere-options.adoc
>> @@ -4,6 +4,6 @@
>> the current conflict to update the files in the working
>> tree, allow it to also update the index with the result of
>> resolution. `--no-rerere-autoupdate` is a good way to
>> - double-check what `rerere` did and catch potential
>> + double-check what linkgit:git-rerere[1] did and catch potential
>> mismerges, before committing the result to the index with a
>> separate `git add`.
>>
>> base-commit: 67ad42147a7acc2af6074753ebd03d904476118f
>
> I'm not fond of introducing linkgit macro that can create auto-reference
> in manual pages. At the moment, we need to use conditional inclusion in
> the manual pages source, but I wonder if we could simply filter out the
> links in the macro itself.
FWIW, before deciding to accept the patch, I did check if
git-rerere.adoc included this file (it didn't), but if we can make
the macro smarter to do so, it would be great, as that would avoid
people including this file there later without realizing that they
now need to make the mark-up conditional.
This particular patch does not have to be blocked waiting for such
an improvement, though, right?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] doc: rerere-options.adoc: link to git-rerere(1)
2026-02-11 15:43 ` Junio C Hamano
@ 2026-02-12 5:37 ` Jean-Noël Avila
0 siblings, 0 replies; 10+ messages in thread
From: Jean-Noël Avila @ 2026-02-12 5:37 UTC (permalink / raw)
To: Junio C Hamano; +Cc: kristofferhaugsbakk, git, Kristoffer Haugsbakk
Le 11/02/2026 à 16:43, Junio C Hamano a écrit :
> Jean-Noël Avila <jn.avila@free.fr> writes:
>
>>> diff --git a/Documentation/rerere-options.adoc b/Documentation/rerere-options.adoc
>>> index b0b920144a6..115882edab1 100644
>>> --- a/Documentation/rerere-options.adoc
>>> +++ b/Documentation/rerere-options.adoc
>>> @@ -4,6 +4,6 @@
>>> the current conflict to update the files in the working
>>> tree, allow it to also update the index with the result of
>>> resolution. `--no-rerere-autoupdate` is a good way to
>>> - double-check what `rerere` did and catch potential
>>> + double-check what linkgit:git-rerere[1] did and catch potential
>>> mismerges, before committing the result to the index with a
>>> separate `git add`.
>>>
>>> base-commit: 67ad42147a7acc2af6074753ebd03d904476118f
>>
>> I'm not fond of introducing linkgit macro that can create auto-reference
>> in manual pages. At the moment, we need to use conditional inclusion in
>> the manual pages source, but I wonder if we could simply filter out the
>> links in the macro itself.
>
> FWIW, before deciding to accept the patch, I did check if
> git-rerere.adoc included this file (it didn't), but if we can make
> the macro smarter to do so, it would be great, as that would avoid
> people including this file there later without realizing that they
> now need to make the mark-up conditional.
Ah, adding the options of rerere in git-rerere manual page is then
something that will need to be done when reworking it.
>
> This particular patch does not have to be blocked waiting for such
> an improvement, though, right?
>
No it doesn't. I don't intend to scratch this itch soon.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2026-02-12 5:37 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-09 18:13 [PATCH] doc: rerere-options.adoc: link to git-rerere(1) kristofferhaugsbakk
2026-02-09 21:57 ` D. Ben Knoble
2026-02-09 22:21 ` Junio C Hamano
2026-02-09 23:12 ` Ben Knoble
2026-02-09 22:23 ` Kristoffer Haugsbakk
2026-02-10 19:56 ` [PATCH v2] " kristofferhaugsbakk
2026-02-10 21:33 ` D. Ben Knoble
2026-02-11 7:14 ` [PATCH] " Jean-Noël Avila
2026-02-11 15:43 ` Junio C Hamano
2026-02-12 5:37 ` Jean-Noël Avila
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox