[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-diffs emails can get long subject if log starts with "*"
From: |
Glenn Morris |
Subject: |
Re: emacs-diffs emails can get long subject if log starts with "*" |
Date: |
Mon, 24 Nov 2014 12:12:42 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
RĂ¼diger Sonderfeld wrote:
>> Also seems dumb to me to ignore line-breaks, and insist on paragrpah
>> breaks, but whatever.
>
> That's why the recommendation for git is to limit the first line to 50
> characters.
"First line summarizes the commit" is fine by me. What I find dumb is
the requirement for that first line to be followed by a blank line, not
a new line.
Because
who
needs
to
write
50
characters
like
this?
For example, just now I wanted to use a commit log which was about 1.5
lines long in total, but had a natural break (for a comma) at the end of
the first line. Rather than rewrite it as "1 + blank + 1.5 lines", I
simply dropped the last half line.
If a newline marked the end of the summary/title/whatever, then
log --oneline (and emacs-diffs subjects) would look fine, with no action
needed.
But obviously it isn't going to change, so we need to learn new habits,
and write little tools to enforce said habits.
- Re: emacs-diffs emails can get long subject if log starts with "*", (continued)
- Re: emacs-diffs emails can get long subject if log starts with "*", Glenn Morris, 2014/11/22
- Re: emacs-diffs emails can get long subject if log starts with "*", Paul Eggert, 2014/11/22
- Re: emacs-diffs emails can get long subject if log starts with "*", Yuri Khan, 2014/11/22
- Re: emacs-diffs emails can get long subject if log starts with "*", Thien-Thi Nguyen, 2014/11/23
- Re: emacs-diffs emails can get long subject if log starts with "*", Eli Zaretskii, 2014/11/23
- Re: emacs-diffs emails can get long subject if log starts with "*", Richard Stallman, 2014/11/23
- Re: emacs-diffs emails can get long subject if log starts with "*", RĂ¼diger Sonderfeld, 2014/11/23
- Re: emacs-diffs emails can get long subject if log starts with "*", Eli Zaretskii, 2014/11/23
- Re: emacs-diffs emails can get long subject if log starts with "*",
Glenn Morris <=
- Re: emacs-diffs emails can get long subject if log starts with "*", Andreas Schwab, 2014/11/24
Re: emacs-diffs emails can get long subject if log starts with "*", Stefan Monnier, 2014/11/24