Re: [PATCH v2] sha1-name.c: for ":/", find detached HEAD commits
- From
William Chargin <wchargin@gmail.com>
- Date
- Jul 12, 2018, 16:14 UTC
- Message-ID
- <CAFW+GMAp2bA2=_BZ2S0HLO2x2aLE01zXigHrY3QtCmWxRuyAtA@mail.gmail.com>
- In-Reply-To
- <xmqqva9kzbhi.fsf@gitster-ct.c.googlers.com>
> As we discussed during the review on v1, ":/<substring in commit>" > is *NOT* pathspec (that is why having these tests in t4208 is wrong > but we are following existing mistakes).
Ah, I understand the terminology better now. Thanks. I'll change the commit message wording to use "extended SHA-1s" instead of "pathspecs".
> Now you have Peff's sign-off for the one-liner code change, the last > one is redundant.
Okay: I'll remove the "Based-on-patch-by" line.
> Other than the above two nits, the patch looks good. I would have > broken the line after "including HEAD.", but the slightly-long line > is also OK.
Happy to change this while making the above edits. :-)
Best, WC