Thread (14 messages) flat view 14 messages, 4 authors, 2016-06-15

Re: [PATCH] (squashme) gitcli documentation fixups

From: Pierre Habouzit <hidden>
Date: 2016-06-15 22:43:59

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@debian.org
OOO                                                http://www.madism.org

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help