Re: git name-rev not accepting abbreviated SHA with --stdin
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 25, 2015, 00:11 UTC
- Message-ID
- <xmqqsi9g8x51.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <558A2405.2090709@gmail.com>
Sitaram Chamarty <sitaramc@gmail.com> writes:
> This *is* documented, but I'm curious why this distinction is made.
I think it is from mere laziness, and also in a smaller degree coming from an expectation that --stdin would be fed by another script like rev-list where feeding full 40-hex is less work than feeding unique abbreviated prefix.