Re: [RFC PATCH] am: do not do any reset on --abort

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff King
Date: Monday, May 25, 2009 - 9:00 am

On Mon, May 25, 2009 at 11:54:36AM -0400, Avery Pennarun wrote:


But that only covers one problem. How about you forgot that you had a
failed am in progress, waited hours or days, made some commits on the
same branch, tried to am a series, got the "in progress" message and
then did an "--abort"?

And yes, I have done that.

In both examples, an alternative method for dealing with this is to try
to alert the user that we are in the middle of an am when doing
potentially suspicious things (like switching branches or making commits
outside of "git am --resolved"). I don't know how well that would work
in practice.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH] am: do not do any reset on --abort, Jeff King, (Mon May 25, 3:43 am)
Re: [RFC PATCH] am: do not do any reset on --abort, Johannes Schindelin, (Mon May 25, 4:49 am)
Re: [RFC PATCH] am: do not do any reset on --abort, Jeff King, (Mon May 25, 5:00 am)
Re: [RFC PATCH] am: do not do any reset on --abort, Johannes Sixt, (Mon May 25, 5:17 am)
Re: [RFC PATCH] am: do not do any reset on --abort, Avery Pennarun, (Mon May 25, 8:54 am)
Re: [RFC PATCH] am: do not do any reset on --abort, Jeff King, (Mon May 25, 9:00 am)
Re: [RFC PATCH] am: do not do any reset on --abort, Jeff King, (Mon May 25, 9:02 am)
Re: [RFC PATCH] am: do not do any reset on --abort, Avery Pennarun, (Mon May 25, 9:10 am)
Re: [RFC PATCH] am: do not do any reset on --abort, Junio C Hamano, (Mon May 25, 3:23 pm)