Re: [PATCHv4 7/7] builtin/describe.c: describe a blob
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 16, 2017, 02:04 UTC
- Message-ID
- <xmqq375fx9ly.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAGZ79kY109yTQESzVg69nsibucAhvP0m+vKUH21xB9m7WTGaFg@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
> grep "fatal: test-blob-1 is neither a commit nor blob" actual
OK, that might be somewhat unsatisfying from end-user's point of view (logically "test-blob-1" is already a name based on the 'graph relations' that is satisfactory).
[side note] should that grep become test_i18ngrep?
If this machinery is to find an object that is *bad* (in the sense in one of your earlier messages), I suspect it may be quite easy to use the new mechanism added by the series to also locate a tree object and report "that tree appears in this commit at this path" and it would be equally useful as the feature to find a blob.
Thanks.