2006/9/29, A Large Angry SCM <gitzilla@xxxxxxxxx>:
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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html