Thread (11 messages) 11 messages, 9 authors, 2016-06-15

Re: Wrap commit messages on `git commit -m`

From: David Aguilar <hidden>
Date: 2016-06-15 22:55:11

On Fri, Nov 2, 2012 at 11:38 PM, Jonathan Nieder [off-list ref] wrote:
Ramkumar Ramachandra wrote:
quoted
Jonathan Nieder wrote:
quoted
quoted
Ram, what platform do your colleagues use?
Red Hat Enterprise Linux 5.
Oh, ok.  In that case I blame habit.

I think the best option you have is to just complain to your
colleagues about the long lines.  Then they would get a chance to
explore what the UI currently offers and to complain to this list
(perhaps via you :)) about missing features that would make their work
easier.

To put it another way: I don't see yet how a hypothetical "git commit
--wrap-lines -m 'long message'" would make life easier than just
running "git commit" and entering the message using $EDITOR.  There's
probably a UI or documentation bug lurking somewhere, so thanks for
thinking about these things.

Regards,
Jonathan
If your colleagues do not mind using a GUI then git-cola
might help them form better commit messages.

It auto-wraps long lines and enforces a very clear distinction
between the one-line summary and extended description.
-- 
David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help