From: Junio C Hamano <hidden> Date: 2016-06-15 22:48:13
Junio C Hamano [off-list ref] writes:
Jeff King [off-list ref] writes:
quoted
Hmm. I was thinking "am" was the odd man out, but really there are only
two sequencer commands that I noted: rebase and am. So you could perhaps
argue that rebase should also learn "--resolved". Or am I forgetting
one?
Having said all I did in the previous message, I think "am --continue"
would be a good addition.
And "rebase --resolved" would not make any sense if the reason the control
is given back to you was because you ran "rebase -i" and marked a commit
to be "edit"ed. Of course, we could add "--resolved" and "--edited" (or
perhaps "--amended") to "rebase", and have it make sure that the correct
one is given. For example, when it stopped for "edit", it would reject
"rebase --resolved". But I do not think it is worth the hassle.
Heya,
On Wed, Feb 10, 2010 at 23:21, Junio C Hamano [off-list ref] wrote:
Having said all I did in the previous message, I think "am --continue"
would be a good addition.
How about 'cherry-pick --resolved' though ;).
And "rebase --resolved" would not make any sense if the reason the control
is given back to you was because you ran "rebase -i" and marked a commit
to be "edit"ed. Of course, we could add "--resolved" and "--edited" (or
perhaps "--amended") to "rebase", and have it make sure that the correct
one is given. For example, when it stopped for "edit", it would reject
"rebase --resolved". But I do not think it is worth the hassle.
I don't see any benefit to that, in fact, I'd recommend against it.
--
Cheers,
Sverre Rabbelier
From: Jeff King <hidden> Date: 2016-06-15 22:48:13
On Wed, Feb 10, 2010 at 02:21:14PM -0800, Junio C Hamano wrote:
Junio C Hamano [off-list ref] writes:
quoted
Jeff King [off-list ref] writes:
quoted
Hmm. I was thinking "am" was the odd man out, but really there are only
two sequencer commands that I noted: rebase and am. So you could perhaps
argue that rebase should also learn "--resolved". Or am I forgetting
one?
Having said all I did in the previous message, I think "am --continue"
would be a good addition.
OK. I agree with your philosophical ramblings in the previous message,
but I also think there is some value in making it simple for the user to
remember.
Do you just want to pick up my patch from earlier in the thread, or do
you have further comments? The only thing I could think to change would
be that we may not want to even bother advertising --continue in the
usage message (conversely, we could go a step further and actually
advertise it in the manpage).
And "rebase --resolved" would not make any sense if the reason the control
is given back to you was because you ran "rebase -i" and marked a commit
to be "edit"ed. Of course, we could add "--resolved" and "--edited" (or
perhaps "--amended") to "rebase", and have it make sure that the correct
one is given. For example, when it stopped for "edit", it would reject
"rebase --resolved". But I do not think it is worth the hassle.
From: Junio C Hamano <hidden> Date: 2016-06-15 22:48:13
Jeff King [off-list ref] writes:
quoted
Having said all I did in the previous message, I think "am --continue"
would be a good addition.
OK. I agree with your philosophical ramblings in the previous message,
but I also think there is some value in making it simple for the user to
remember.
Certainly I am in agreement and that is why I think "am --continue" is a
good thing.
Do you just want to pick up my patch from earlier in the thread, or do
you have further comments? The only thing I could think to change would
be that we may not want to even bother advertising --continue in the
usage message (conversely, we could go a step further and actually
advertise it in the manpage).
I would say our eventual goal should be to make "--continue" the primary
word the end users would see. It would bring us closer to that goal to
start advertising --continue early.
From: Jeff King <hidden> Date: 2016-06-15 22:48:13
On Thu, Feb 11, 2010 at 12:36:52PM -0800, Junio C Hamano wrote:
quoted
Do you just want to pick up my patch from earlier in the thread, or do
you have further comments? The only thing I could think to change would
be that we may not want to even bother advertising --continue in the
usage message (conversely, we could go a step further and actually
advertise it in the manpage).
I would say our eventual goal should be to make "--continue" the primary
word the end users would see. It would bring us closer to that goal to
start advertising --continue early.
OK. Then I think my patch is fine. But we could also do this if we
wanted to push it further now:
-- >8 --
Subject: [PATCH] am: switch --resolved to --continue
Rebase calls this same function "--continue", which means
users may be trained to type it. There is no reason to
deprecate --resolved (or -r), so we will keep it as a
synonym.
Signed-off-by: Jeff King <redacted>
---
Between this and the previous patch, I don't have a strong preference.
You can decide.
Documentation/git-am.txt | 3 ++-
git-am.sh | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
@@ -107,6 +107,7 @@ default. You can use `--no-utf8` to override this. Skip the current patch. This is only meaningful when restarting an aborted patch.+--continue:: -r:: --resolved:: After a patch failure (e.g. attempting to apply
From: SZEDER Gábor <hidden> Date: 2016-06-15 22:48:14
Hi,
On Thu, Feb 11, 2010 at 05:27:14PM -0500, Jeff King wrote:
On Thu, Feb 11, 2010 at 12:36:52PM -0800, Junio C Hamano wrote:
quoted
quoted
Do you just want to pick up my patch from earlier in the thread, or do
you have further comments? The only thing I could think to change would
be that we may not want to even bother advertising --continue in the
usage message (conversely, we could go a step further and actually
advertise it in the manpage).
I would say our eventual goal should be to make "--continue" the primary
word the end users would see. It would bring us closer to that goal to
start advertising --continue early.
OK. Then I think my patch is fine. But we could also do this if we
wanted to push it further now:
-- >8 --
Subject: [PATCH] am: switch --resolved to --continue
Rebase calls this same function "--continue", which means
users may be trained to type it. There is no reason to
deprecate --resolved (or -r), so we will keep it as a
synonym.
Signed-off-by: Jeff King <redacted>
Then maybe we should have this, too.
Best,
Gábor
-- >8 --
Subject: [PATCH] bash: support 'git am's new '--continue' option
Signed-off-by: SZEDER Gábor <redacted>
---
contrib/completion/git-completion.bash | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)