# [PATCH 1/4] rebase: document --rerere-autoupdate

10 messages from 2019-03-13 to 2019-03-18. Participants: Phillip Wood, Johannes Schindelin, Junio C Hamano.
Thread: https://gitlist.dev/t/50732

## Phillip Wood, 2019-03-13 18:27

Subject: [PATCH 1/4] rebase: document --rerere-autoupdate
Message-ID: <20190313182756.8076-1-phillip.wood123@gmail.com>
URL: https://gitlist.dev/e/20190313182756.8076-1-phillip.wood123%40gmail.com

```
From: Phillip Wood <phillip.wood@dunelm.org.uk>

This option was missing from the man page.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
---
 Documentation/git-rebase.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index 5629ba4c5d..fbf9a4d70a 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -300,6 +300,11 @@ See also INCOMPATIBLE OPTIONS below.
 +
 See also INCOMPATIBLE OPTIONS below.
 
+--rerere-autoupdate::
+--no-rerere-autoupdate::
+	Allow the rerere mechanism to update the index with the
+	result of auto-conflict resolution if possible.
+
 -S[<keyid>]::
 --gpg-sign[=<keyid>]::
 	GPG-sign commits. The `keyid` argument is optional and
-- 
2.21.0


```

## Phillip Wood, 2019-03-13 18:27

Subject: [PATCH 2/4] cherry-pick/revert: document --rerere-autoupdate
Message-ID: <20190313182756.8076-2-phillip.wood123@gmail.com>
URL: https://gitlist.dev/e/20190313182756.8076-2-phillip.wood123%40gmail.com
In-Reply-To: <20190313182756.8076-1-phillip.wood123@gmail.com>

```
From: Phillip Wood <phillip.wood@dunelm.org.uk>

This option was missing from the man pages.
---
 Documentation/git-cherry-pick.txt | 5 +++++
 Documentation/git-revert.txt      | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/Documentation/git-cherry-pick.txt b/Documentation/git-cherry-pick.txt
index b8cfeec67e..d64e72462f 100644
--- a/Documentation/git-cherry-pick.txt
+++ b/Documentation/git-cherry-pick.txt
@@ -148,6 +148,11 @@ effect to your index in a row.
 	Pass the merge strategy-specific option through to the
 	merge strategy.  See linkgit:git-merge[1] for details.
 
+--rerere-autoupdate::
+--no-rerere-autoupdate::
+	Allow the rerere mechanism to update the index with the
+	result of auto-conflict resolution if possible.
+
 SEQUENCER SUBCOMMANDS
 ---------------------
 include::sequencer.txt[]
diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt
index 837707a8fd..6afccb2f1e 100644
--- a/Documentation/git-revert.txt
+++ b/Documentation/git-revert.txt
@@ -101,6 +101,11 @@ effect to your index in a row.
 	Pass the merge strategy-specific option through to the
 	merge strategy.  See linkgit:git-merge[1] for details.
 
+--rerere-autoupdate::
+--no-rerere-autoupdate::
+	Allow the rerere mechanism to update the index with the
+	result of auto-conflict resolution if possible.
+
 SEQUENCER SUBCOMMANDS
 ---------------------
 include::sequencer.txt[]
-- 
2.21.0


```

## Phillip Wood, 2019-03-13 18:27

Subject: [PATCH 3/4] am: document --rerere-autoupdate
Message-ID: <20190313182756.8076-3-phillip.wood123@gmail.com>
URL: https://gitlist.dev/e/20190313182756.8076-3-phillip.wood123%40gmail.com
In-Reply-To: <20190313182756.8076-1-phillip.wood123@gmail.com>

```
From: Phillip Wood <phillip.wood@dunelm.org.uk>

This option was missing from the man page.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
---
 Documentation/git-am.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt
index 6f6c34b0f4..fc3b993c33 100644
--- a/Documentation/git-am.txt
+++ b/Documentation/git-am.txt
@@ -99,6 +99,11 @@ default.   You can use `--no-utf8` to override this.
 	am.threeWay configuration variable. For more information,
 	see am.threeWay in linkgit:git-config[1].
 
+--rerere-autoupdate::
+--no-rerere-autoupdate::
+	Allow the rerere mechanism to update the index with the
+	result of auto-conflict resolution if possible.
+
 --ignore-space-change::
 --ignore-whitespace::
 --whitespace=<option>::
-- 
2.21.0


```

## Phillip Wood, 2019-03-13 18:27

Subject: [PATCH 4/4] merge: tweak --rerere-autoupdate documentation
Message-ID: <20190313182756.8076-4-phillip.wood123@gmail.com>
URL: https://gitlist.dev/e/20190313182756.8076-4-phillip.wood123%40gmail.com
In-Reply-To: <20190313182756.8076-1-phillip.wood123@gmail.com>

```
From: Phillip Wood <phillip.wood@dunelm.org.uk>

Spell out --no-rerere-autoupdate explictly to make searching
easier. This matches the other --no options in the man page.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
---
 Documentation/git-merge.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/git-merge.txt b/Documentation/git-merge.txt
index 4cc86469f3..6294dbc09d 100644
--- a/Documentation/git-merge.txt
+++ b/Documentation/git-merge.txt
@@ -83,7 +83,8 @@ invocations. The automated message can include the branch description.
 If `--log` is specified, a shortlog of the commits being merged
 will be appended to the specified message.
 
---[no-]rerere-autoupdate::
+--rerere-autoupdate::
+--no-rerere-autoupdate::
 	Allow the rerere mechanism to update the index with the
 	result of auto-conflict resolution if possible.
 
-- 
2.21.0


```

## Johannes Schindelin, 2019-03-13 22:57

Subject: Re: [PATCH 4/4] merge: tweak --rerere-autoupdate documentation
Message-ID: <nycvar.QRO.7.76.6.1903132357070.41@tvgsbejvaqbjf.bet>
URL: https://gitlist.dev/e/nycvar.QRO.7.76.6.1903132357070.41%40tvgsbejvaqbjf.bet
In-Reply-To: <20190313182756.8076-4-phillip.wood123@gmail.com>

```
Hi Phillip,

On Wed, 13 Mar 2019, Phillip Wood wrote:

> From: Phillip Wood <phillip.wood@dunelm.org.uk>
> 
> Spell out --no-rerere-autoupdate explictly to make searching
> easier. This matches the other --no options in the man page.
> 
> Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
> ---
>  Documentation/git-merge.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/git-merge.txt b/Documentation/git-merge.txt
> index 4cc86469f3..6294dbc09d 100644
> --- a/Documentation/git-merge.txt
> +++ b/Documentation/git-merge.txt
> @@ -83,7 +83,8 @@ invocations. The automated message can include the branch description.
>  If `--log` is specified, a shortlog of the commits being merged
>  will be appended to the specified message.
>  
> ---[no-]rerere-autoupdate::
> +--rerere-autoupdate::
> +--no-rerere-autoupdate::
>  	Allow the rerere mechanism to update the index with the
>  	result of auto-conflict resolution if possible.

All four patches make sense to me.

Thanks,
Dscho

```

## Junio C Hamano, 2019-03-14 05:05

Subject: Re: [PATCH 1/4] rebase: document --rerere-autoupdate
Message-ID: <xmqqef7a9hbx.fsf@gitster-ct.c.googlers.com>
URL: https://gitlist.dev/e/xmqqef7a9hbx.fsf%40gitster-ct.c.googlers.com
In-Reply-To: <20190313182756.8076-1-phillip.wood123@gmail.com>

```
Phillip Wood <phillip.wood123@gmail.com> writes:

> From: Phillip Wood <phillip.wood@dunelm.org.uk>
>
> This option was missing from the man page.
>
> Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
> ---

Looks good, but I do not see what the point is to have 1-3 as three
separate patches.  It does make sense to have 4/4 as a separate
step, though.

```

## Phillip Wood, 2019-03-14 19:12

Subject: am/cherry-pick/rebase/revert: document --rerere-autoupdate
Message-ID: <20190314191234.25553-1-phillip.wood123@gmail.com>
URL: https://gitlist.dev/e/20190314191234.25553-1-phillip.wood123%40gmail.com
In-Reply-To: <xmqqef7a9hbx.fsf@gitster-ct.c.googlers.com>

```
I've squashed the first tree patches together

Best Wishes

Phillip



```

## Phillip Wood, 2019-03-14 19:12

Subject: [PATCH v2 1/2] am/cherry-pick/rebase/revert: document --rerere-autoupdate
Message-ID: <20190314191234.25553-2-phillip.wood123@gmail.com>
URL: https://gitlist.dev/e/20190314191234.25553-2-phillip.wood123%40gmail.com
In-Reply-To: <20190314191234.25553-1-phillip.wood123@gmail.com>

```
From: Phillip Wood <phillip.wood@dunelm.org.uk>

This option was missing from the man pages of these commands.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
---
 Documentation/git-am.txt          | 5 +++++
 Documentation/git-cherry-pick.txt | 5 +++++
 Documentation/git-rebase.txt      | 5 +++++
 Documentation/git-revert.txt      | 5 +++++
 4 files changed, 20 insertions(+)

diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt
index 6f6c34b0f4..fc3b993c33 100644
--- a/Documentation/git-am.txt
+++ b/Documentation/git-am.txt
@@ -99,6 +99,11 @@ default.   You can use `--no-utf8` to override this.
 	am.threeWay configuration variable. For more information,
 	see am.threeWay in linkgit:git-config[1].
 
+--rerere-autoupdate::
+--no-rerere-autoupdate::
+	Allow the rerere mechanism to update the index with the
+	result of auto-conflict resolution if possible.
+
 --ignore-space-change::
 --ignore-whitespace::
 --whitespace=<option>::
diff --git a/Documentation/git-cherry-pick.txt b/Documentation/git-cherry-pick.txt
index b8cfeec67e..d64e72462f 100644
--- a/Documentation/git-cherry-pick.txt
+++ b/Documentation/git-cherry-pick.txt
@@ -148,6 +148,11 @@ effect to your index in a row.
 	Pass the merge strategy-specific option through to the
 	merge strategy.  See linkgit:git-merge[1] for details.
 
+--rerere-autoupdate::
+--no-rerere-autoupdate::
+	Allow the rerere mechanism to update the index with the
+	result of auto-conflict resolution if possible.
+
 SEQUENCER SUBCOMMANDS
 ---------------------
 include::sequencer.txt[]
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index 5629ba4c5d..fbf9a4d70a 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -300,6 +300,11 @@ See also INCOMPATIBLE OPTIONS below.
 +
 See also INCOMPATIBLE OPTIONS below.
 
+--rerere-autoupdate::
+--no-rerere-autoupdate::
+	Allow the rerere mechanism to update the index with the
+	result of auto-conflict resolution if possible.
+
 -S[<keyid>]::
 --gpg-sign[=<keyid>]::
 	GPG-sign commits. The `keyid` argument is optional and
diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt
index 837707a8fd..6afccb2f1e 100644
--- a/Documentation/git-revert.txt
+++ b/Documentation/git-revert.txt
@@ -101,6 +101,11 @@ effect to your index in a row.
 	Pass the merge strategy-specific option through to the
 	merge strategy.  See linkgit:git-merge[1] for details.
 
+--rerere-autoupdate::
+--no-rerere-autoupdate::
+	Allow the rerere mechanism to update the index with the
+	result of auto-conflict resolution if possible.
+
 SEQUENCER SUBCOMMANDS
 ---------------------
 include::sequencer.txt[]
-- 
2.21.0


```

## Phillip Wood, 2019-03-14 19:12

Subject: [PATCH v2 2/2] merge: tweak --rerere-autoupdate documentation
Message-ID: <20190314191234.25553-3-phillip.wood123@gmail.com>
URL: https://gitlist.dev/e/20190314191234.25553-3-phillip.wood123%40gmail.com
In-Reply-To: <20190314191234.25553-1-phillip.wood123@gmail.com>

```
From: Phillip Wood <phillip.wood@dunelm.org.uk>

Spell out --no-rerere-autoupdate explictly to make searching
easier. This matches the other --no options in the man page.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
---
 Documentation/git-merge.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/git-merge.txt b/Documentation/git-merge.txt
index 4cc86469f3..6294dbc09d 100644
--- a/Documentation/git-merge.txt
+++ b/Documentation/git-merge.txt
@@ -83,7 +83,8 @@ invocations. The automated message can include the branch description.
 If `--log` is specified, a shortlog of the commits being merged
 will be appended to the specified message.
 
---[no-]rerere-autoupdate::
+--rerere-autoupdate::
+--no-rerere-autoupdate::
 	Allow the rerere mechanism to update the index with the
 	result of auto-conflict resolution if possible.
 
-- 
2.21.0


```

## Junio C Hamano, 2019-03-18 01:25

Subject: Re: am/cherry-pick/rebase/revert: document --rerere-autoupdate
Message-ID: <xmqq7ecx7z3n.fsf@gitster-ct.c.googlers.com>
URL: https://gitlist.dev/e/xmqq7ecx7z3n.fsf%40gitster-ct.c.googlers.com
In-Reply-To: <20190314191234.25553-1-phillip.wood123@gmail.com>

```
Phillip Wood <phillip.wood123@gmail.com> writes:

> I've squashed the first tree patches together

Thanks.  The result of the series has no changes and that is good.

```
