* [PATCH] rebase: clarify --reschedule-failed-exec default
@ 2024-01-04 8:06 Illia Bobyr
2024-01-04 19:20 ` Taylor Blau
2024-01-05 0:42 ` [PATCH v2] " Illia Bobyr
0 siblings, 2 replies; 7+ messages in thread
From: Illia Bobyr @ 2024-01-04 8:06 UTC (permalink / raw
To: git; +Cc: Ævar Arnfjörð Bjarmason, Illia Bobyr
Documentation should mention the default behavior.
It is better to explain the persistent nature of the
--reschedule-failed-exec flag from the user standpoint, rather than from
the implementation standpoint.
Signed-off-by: Illia Bobyr <illia.bobyr@gmail.com>
---
Documentation/git-rebase.txt | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git Documentation/git-rebase.txt Documentation/git-rebase.txt
index 1dd65..45d3c 100644
--- Documentation/git-rebase.txt
+++ Documentation/git-rebase.txt
@@ -626,13 +626,16 @@ See also INCOMPATIBLE OPTIONS below.
Automatically reschedule `exec` commands that failed. This only makes
sense in interactive mode (or when an `--exec` option was provided).
+
-Even though this option applies once a rebase is started, it's set for
-the whole rebase at the start based on either the
-`rebase.rescheduleFailedExec` configuration (see linkgit:git-config[1]
-or "CONFIGURATION" below) or whether this option is
-provided. Otherwise an explicit `--no-reschedule-failed-exec` at the
-start would be overridden by the presence of
-`rebase.rescheduleFailedExec=true` configuration.
+This option applies once a rebase is started. It is preserved for the whole
+rebase based on, in order, the command line option provided to the initial `git
+rebase`, the `rebase.rescheduleFailedExec` configuration (see
+linkgit:git-config[1] or "CONFIGURATION" below), or it defaults to false.
++
+Recording this option for the whole rebase is a convenience feature. Otherwise
+an explicit `--no-reschedule-failed-exec` at the start would be overridden by
+the presence of a `rebase.rescheduleFailedExec=true` configuration when `git
+rebase --continue` is invoked. Currently, you can not, pass
+`--[no-]reschedule-failed-exec` to `git rebase --continue`.
--update-refs::
--no-update-refs::
--
2.40.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] rebase: clarify --reschedule-failed-exec default
2024-01-04 8:06 [PATCH] rebase: clarify --reschedule-failed-exec default Illia Bobyr
@ 2024-01-04 19:20 ` Taylor Blau
2024-01-05 1:14 ` [PATCH v3] " Illia Bobyr
2024-01-05 1:14 ` Illia Bobyr
2024-01-05 0:42 ` [PATCH v2] " Illia Bobyr
1 sibling, 2 replies; 7+ messages in thread
From: Taylor Blau @ 2024-01-04 19:20 UTC (permalink / raw
To: Illia Bobyr; +Cc: git, Ævar Arnfjörð Bjarmason
On Thu, Jan 04, 2024 at 12:06:31AM -0800, Illia Bobyr wrote:
> Documentation should mention the default behavior.
>
> It is better to explain the persistent nature of the
> --reschedule-failed-exec flag from the user standpoint, rather than from
> the implementation standpoint.
The first paragraph looks good, and I think your wording is an
improvement over what's already there (though of course this is
subjective, and YMMV).
> +Recording this option for the whole rebase is a convenience feature. Otherwise
> +an explicit `--no-reschedule-failed-exec` at the start would be overridden by
> +the presence of a `rebase.rescheduleFailedExec=true` configuration when `git
> +rebase --continue` is invoked. Currently, you can not, pass
> +`--[no-]reschedule-failed-exec` to `git rebase --continue`.
The last sentence was a bit confusing to me. I assume you meant
Currently, you cannot pass `--[no-]reschedule-failed-exec` [...]
without the comma between "pass" and "`--[no]reschedule-failed-exect`",
and replacing "can not" with "cannot".
Thanks,
Taylor
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2] rebase: clarify --reschedule-failed-exec default
2024-01-04 8:06 [PATCH] rebase: clarify --reschedule-failed-exec default Illia Bobyr
2024-01-04 19:20 ` Taylor Blau
@ 2024-01-05 0:42 ` Illia Bobyr
2024-01-05 0:42 ` Illia Bobyr
1 sibling, 1 reply; 7+ messages in thread
From: Illia Bobyr @ 2024-01-05 0:42 UTC (permalink / raw
To: git; +Cc: Taylor Blau
Applied.
Thank you for reviewing!
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2] rebase: clarify --reschedule-failed-exec default
2024-01-05 0:42 ` [PATCH v2] " Illia Bobyr
@ 2024-01-05 0:42 ` Illia Bobyr
0 siblings, 0 replies; 7+ messages in thread
From: Illia Bobyr @ 2024-01-05 0:42 UTC (permalink / raw
To: git; +Cc: Taylor Blau, Illia Bobyr
Documentation should mention the default behavior.
It is better to explain the persistent nature of the
--reschedule-failed-exec flag from the user standpoint, rather than from
the implementation standpoint.
Signed-off-by: Illia Bobyr <illia.bobyr@gmail.com>
---
Documentation/git-rebase.txt | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git Documentation/git-rebase.txt Documentation/git-rebase.txt
index 1dd65..45d3c 100644
--- Documentation/git-rebase.txt
+++ Documentation/git-rebase.txt
@@ -626,13 +626,16 @@ See also INCOMPATIBLE OPTIONS below.
Automatically reschedule `exec` commands that failed. This only makes
sense in interactive mode (or when an `--exec` option was provided).
+
-Even though this option applies once a rebase is started, it's set for
-the whole rebase at the start based on either the
-`rebase.rescheduleFailedExec` configuration (see linkgit:git-config[1]
-or "CONFIGURATION" below) or whether this option is
-provided. Otherwise an explicit `--no-reschedule-failed-exec` at the
-start would be overridden by the presence of
-`rebase.rescheduleFailedExec=true` configuration.
+This option applies once a rebase is started. It is preserved for the whole
+rebase based on, in order, the command line option provided to the initial `git
+rebase`, the `rebase.rescheduleFailedExec` configuration (see
+linkgit:git-config[1] or "CONFIGURATION" below), or it defaults to false.
++
+Recording this option for the whole rebase is a convenience feature. Otherwise
+an explicit `--no-reschedule-failed-exec` at the start would be overridden by
+the presence of a `rebase.rescheduleFailedExec=true` configuration when `git
+rebase --continue` is invoked. Currently, you can not, pass
+`--[no-]reschedule-failed-exec` to `git rebase --continue`.
--update-refs::
--no-update-refs::
--
2.40.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v3] rebase: clarify --reschedule-failed-exec default
2024-01-04 19:20 ` Taylor Blau
@ 2024-01-05 1:14 ` Illia Bobyr
2024-01-05 1:14 ` Illia Bobyr
1 sibling, 0 replies; 7+ messages in thread
From: Illia Bobyr @ 2024-01-05 1:14 UTC (permalink / raw
To: git; +Cc: Taylor Blau
Sorry, I did not actually include the change in v2.
Still learning how to use git send-email.
On Thu, Jan 04, 2024 at 11:20:28AM -0800, Taylor Blau wrote:
> [...]
>
> > +Recording this option for the whole rebase is a convenience feature. Otherwise
> > +an explicit `--no-reschedule-failed-exec` at the start would be overridden by
> > +the presence of a `rebase.rescheduleFailedExec=true` configuration when `git
> > +rebase --continue` is invoked. Currently, you can not, pass
> > +`--[no-]reschedule-failed-exec` to `git rebase --continue`.
>
> The last sentence was a bit confusing to me. I assume you meant
>
> Currently, you cannot pass `--[no-]reschedule-failed-exec` [...]
>
> without the comma between "pass" and "`--[no]reschedule-failed-exect`",
> and replacing "can not" with "cannot".
Applied.
Thank you for reviewing!
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v3] rebase: clarify --reschedule-failed-exec default
2024-01-04 19:20 ` Taylor Blau
2024-01-05 1:14 ` [PATCH v3] " Illia Bobyr
@ 2024-01-05 1:14 ` Illia Bobyr
2024-01-05 17:11 ` Taylor Blau
1 sibling, 1 reply; 7+ messages in thread
From: Illia Bobyr @ 2024-01-05 1:14 UTC (permalink / raw
To: git; +Cc: Taylor Blau, Illia Bobyr
Documentation should mention the default behavior.
It is better to explain the persistent nature of the
--reschedule-failed-exec flag from the user standpoint, rather than from
the implementation standpoint.
Signed-off-by: Illia Bobyr <illia.bobyr@gmail.com>
---
Documentation/git-rebase.txt | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git Documentation/git-rebase.txt Documentation/git-rebase.txt
index 1dd65..b6282 100644
--- Documentation/git-rebase.txt
+++ Documentation/git-rebase.txt
@@ -626,13 +626,16 @@ See also INCOMPATIBLE OPTIONS below.
Automatically reschedule `exec` commands that failed. This only makes
sense in interactive mode (or when an `--exec` option was provided).
+
-Even though this option applies once a rebase is started, it's set for
-the whole rebase at the start based on either the
-`rebase.rescheduleFailedExec` configuration (see linkgit:git-config[1]
-or "CONFIGURATION" below) or whether this option is
-provided. Otherwise an explicit `--no-reschedule-failed-exec` at the
-start would be overridden by the presence of
-`rebase.rescheduleFailedExec=true` configuration.
+This option applies once a rebase is started. It is preserved for the whole
+rebase based on, in order, the command line option provided to the initial `git
+rebase`, the `rebase.rescheduleFailedExec` configuration (see
+linkgit:git-config[1] or "CONFIGURATION" below), or it defaults to false.
++
+Recording this option for the whole rebase is a convenience feature. Otherwise
+an explicit `--no-reschedule-failed-exec` at the start would be overridden by
+the presence of a `rebase.rescheduleFailedExec=true` configuration when `git
+rebase --continue` is invoked. Currently, you cannot pass
+`--[no-]reschedule-failed-exec` to `git rebase --continue`.
--update-refs::
--no-update-refs::
--
2.40.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3] rebase: clarify --reschedule-failed-exec default
2024-01-05 1:14 ` Illia Bobyr
@ 2024-01-05 17:11 ` Taylor Blau
0 siblings, 0 replies; 7+ messages in thread
From: Taylor Blau @ 2024-01-05 17:11 UTC (permalink / raw
To: Illia Bobyr; +Cc: git
On Thu, Jan 04, 2024 at 05:14:26PM -0800, Illia Bobyr wrote:
> ---
> Documentation/git-rebase.txt | 17 ++++++++++-------
> 1 file changed, 10 insertions(+), 7 deletions(-)
LGTM.
Thanks,
Taylor
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-01-05 17:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-04 8:06 [PATCH] rebase: clarify --reschedule-failed-exec default Illia Bobyr
2024-01-04 19:20 ` Taylor Blau
2024-01-05 1:14 ` [PATCH v3] " Illia Bobyr
2024-01-05 1:14 ` Illia Bobyr
2024-01-05 17:11 ` Taylor Blau
2024-01-05 0:42 ` [PATCH v2] " Illia Bobyr
2024-01-05 0:42 ` Illia Bobyr
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).