From: Jeff King Date: Tue, 13 Nov 2012 13:37:29 GMT Subject: Re: [PATCHv4] replace: parse revision argument for -d Message-ID: <20121113133729.GA20361@sigill.intra.peff.net> In-Reply-To: <848bc8f48885acd63b4f6d29eea0543e73d86451.1352802239.git.git@drmicha.warpmail.net> On Tue, Nov 13, 2012 at 11:34:11AM +0100, Michael J Gruber wrote: > 'git replace' parses the revision arguments when it creates replacements > (so that a sha1 can be abbreviated, e.g.) but not when deleting > replacements. > > Make it parse the argument to 'replace -d' in the same way. > > Signed-off-by: Michael J Gruber > --- > > Notes: > v4 names the aux variable more concisely and does away with a superfluous > assignment. Thanks. I agree the name "full_hex" is much better. Patch looks good to me at this point. -Peff