On Mon, Dec 17, 2007 at 07:28:47AM +0000, Junio C Hamano wrote: > * avoid reinventing the wheel. > > but it needs a bit more explanation. Quite a few people seem to try to > reinvent "git rev-parse --verify HEAD" in their scripts using much > higher level "git show -s -1 --pretty=format:xxx", which is unfortunate > and disgusting at the same time. Oh and about that, the point is, users don't always know the wheel exists because they don't know where to look in the first place. Maybe gitcli(5) will become the right place to explain this kind of usual tricks under a "git scripting idioms" section. -- ·O· Pierre Habouzit ··O madcoder@xxxxxxxxxx OOO http://www.madism.org
Attachment:
pgpiBvdiAIpZK.pgp
Description: PGP signature