From: Sitaram Chamarty Date: Thu, 25 Jun 2015 02:01:08 GMT Subject: Re: git name-rev not accepting abbreviated SHA with --stdin Message-ID: <558B60E4.9020604@gmail.com> In-Reply-To: On 06/25/2015 05:41 AM, Junio C Hamano wrote: > Sitaram Chamarty 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. Makes sense; thanks. Maybe if I feel really adventurous I will, one day, look at the code :-)