Re: [PATCH] get_sha1: support relative path ":path" syntax
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 15, 2010, 18:59 UTC
- Message-ID
- <7voc9ql8fe.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <7v4obimr5l.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> In the absence of programming errors, should all git command support > <tree>:./<path> syntax to name an object, or are there cases where the > relative does not make any sense? > > What I am trying to get at is that if this is diagnosing a user error, or > if this is showing that the mechanism to implement the relative path is > unnecessarily hard for the programmers to misuse.
The mistake should be obvious from the context, but I wanted to say with the last sentence "the mechanism is too hard for the programmers to use and easy to make mistakes."