Re: [PATCH 2/3] revert: allow reverting a root commit
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- May 12, 2011, 14:53 UTC
- Message-ID
- <BANLkTimMc5LRTWpy1Ka+Gf_Cu5SAN785TQ@mail.gmail.com>
- In-Reply-To
- <20110512110955.GB5292@sigill.intra.peff.net>
On Thu, May 12, 2011 at 13:09, Jeff King <peff@peff.net> wrote:
Show 9 quoted lines
> Although it is probably an uncommon operation, there is no > reason to disallow it, as it works just fine. It is the > reverse of a cherry-pick of a root commit, which is already > allowed. > > We do have to tweak one check on whether we have a merge > commit, which assumed we had at least one parent. > > Signed-off-by: Jeff King <peff@peff.net>
I've quickly tested this one, too, and it also seems to work nicely. Great stuff!
-- Sebastian Schuberth