From: Junio C Hamano Date: Mon, 01 Apr 2019 08:48:39 GMT Subject: Re: [PATCH v2 4/4] replace: fix --graft when passing a tag first Message-ID: In-Reply-To: <20190331134659.28808-5-chriscool@tuxfamily.org> Christian Couder 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.