Web lists-archives.com

Re: [PATCH v2 4/4] replace: fix --graft when passing a tag first




Christian Couder <christian.couder@xxxxxxxxx> writes:

> When passing a tag as the first argument to `git replace --graft`,
> it can be useful to accept it and use the underlying commit as a
> the commit that will be replaced.

Yeah, another plausible fix would be to make it an error, but the
message for the error would most likely tell the user to peel the
tag, so peeling it ourselves would make sense.