[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nonempty second line in commit message (??)

From: Ivan Shmakov
Subject: Re: Nonempty second line in commit message (??)
Date: Sun, 29 Mar 2015 11:10:18 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Stefan Monnier <address@hidden> writes:

 >> While commiting I got this error: "Nonempty second line in commit
 >> message".

 >> Why can't the second line be non-empty?

 > Git considers "the summary" (displayed in short logs and things like
 > that) to be the concatenation of all lines until the first empty
 > line.  I think this convention sucks (if you forget such an empty
 > line, it leads to ridiculously long "summaries",

        That’s just “the summary is the first paragraph of the entry”
        rule.  One could certainly screw up with this convention in
        place, but that’s also possible with any other convention.

 > and it forces the addition of an empty line at a spot where you don't
 > always want one).

        Any examples for this point?

FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A

reply via email to

[Prev in Thread] Current Thread [Next in Thread]