Re: Dangerous "git am --abort" behavior
- From
Adam Monsen <haircut@gmail.com>
- Date
- Dec 20, 2010, 19:35 UTC
- Message-ID
- <loom.20101220T203122-271@post.gmane.org>
- In-Reply-To
- <AANLkTinP4SArMkjvTXOEG=tf=8EcEdP9fPAB7F=iitSc@mail.gmail.com>
Linus Torvalds writes:
Show 5 quoted lines
> What happened today was that I had been doing a pull or two, and then > applied an emailed patch with "git am" as usual. But as sometimes > happens, I actually had a previous "git am" that had failed - in fact, > it was the same patch that I applied today that had had an earlier > version that no longer applied.
It would be helpful if "git status" mentioned if a rebase or am operation is in progress... this might have helped you avoid the situation described.