Re: [PATCH] show-ref: Allow --head to work with --verify
- From
Vladimir Panteleev <thecybershadow@gmail.com>
- Date
- Jan 21, 2017, 00:25 UTC
- Message-ID
- <daef1407-6f08-147d-e23b-bb69bb8fd1ed@gmail.com>
- In-Reply-To
- <xmqqo9z1ux7r.fsf@gitster.mtv.corp.google.com>
On 2017-01-20 23:29, Junio C Hamano wrote:
> By the way, I have no strong preference between "read-ref, check > quiet and show-one" and "show-ref", so if you make --verify to > consistently call "show_ref()" for both refs/heads/master and HEAD, > that is also perfectly fine.
This sounds like a good idea, as it will also allow -d and some other options to work with --verify (whatever use case there might be for that). Will resubmit with that.
> I just do not want to see the same feature/codepath to call two > different implementations that happens to do the same thing today.
Understood and agreed.
-- Best regards, Vladimir