From: Santi Date: Fri, 29 Sep 2006 20:48:17 GMT Subject: Re: [PATCH 0/5] fetch & co: misc output cleanup Message-ID: <8aa486160609291348m411932aqfd1049c96ed624df@mail.gmail.com> In-Reply-To: <451D6BDB.50900@gmail.com> 2006/9/29, A Large Angry SCM : > Santi Béjar wrote: > > this patchset includes: > > > > fetch: Reset remote refs list each time fetch_main is called > > fetch & co: Use "hash1..hash2" instead of "from hash1 to hash2" > > fetch & co: Use short sha1 in the output > > fetch: Add output for the not fast forward case > > fetch: Clean output > > Please do not make short ID output the default. That is, unless you can > somehow guarantee that the short ID reported today will _always_ be > unambiguous even with future additions to the repository. > There is not such guarantee. But the fetch output is to be use immediately in git-log, etc. If you want these "guarantees" you must know that you have to keep the long version. By the way, is there a way to show all the commits,tags,... that abbreviate to a short hash? This way instead of just saying "bad revision" we could show the list of possible revisions. Also, git-log & co also output abbreviated hashes by default. So why not for git-fetch? Santi