[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] new automake system
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] new automake system |
Date: |
Sat, 04 Oct 2014 21:12:19 +0200 (CEST) |
> So If I understand correctly the format:
> - First you put a title or sum up and general explanations.
First, you should have a single line (not longer than 78 chars) that
describes the issue – this is mainly for programs like `gitk', which
shows a summary of commits in its main window.
Then it's a good idea to have an empty line, followed by a detailed
description of the commit, if necessary or useful.
> - All entries starting with '* should first refer to a file.
Yes. A file name, followed by a function name in parentheses,
probably followed by a related #ifdef-Name in brackets (if
applicable). For longer functions with e.g. a large switch statement,
it makes sense to add the name of the `case' field in angle brackets:
* src/bar/foo.c (bla-bla-func) <'a'> [HAVE_BAZ]: Description...
Note that all such lines are indented by a tab. The lines starting in
column 1 have the format
date name e-mail
Note that there are *two* spaces between date and name (and name and
e-mail). The e-mail address should be surrounded by angle brackets.
> But should the git commit systematically contain all these entries
> (it seems it's not always the case)?
For code changes, there should be an entry. I first create a
ChangeLog entry, then simply copy it to the commit message, removing
the tabs, and omitting date, name, and e-mail.
White-space changes and minor documentation changes don't need a
ChangeLog entry.
More details can be found in `standards.info':
http://www.gnu.org/prep/standards/standards.html#Change-Logs
Werner
- Re: [Groff] new automake system, (continued)
- [Groff] Double spacing after full stop (was: new automake system), Bertrand Garrigues, 2014/10/04
- Re: [Groff] new automake system, Werner LEMBERG, 2014/10/04
- Re: [Groff] new automake system, Werner LEMBERG, 2014/10/04
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/10/04
- Re: [Groff] new automake system, Werner LEMBERG, 2014/10/04
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/10/04
- Re: [Groff] new automake system,
Werner LEMBERG <=
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/10/04
- Re: [Groff] new automake system, Carsten Kunze, 2014/10/04
- Re: [Groff] new automake system, Werner LEMBERG, 2014/10/04
- Re: [Groff] new automake system, Ralph Corderoy, 2014/10/05
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/10/05
- Re: [Groff] new automake system, Werner LEMBERG, 2014/10/08
- Re: [Groff] new automake system, Bertrand Garrigues, 2014/10/08
Re: [Groff] new automake system, Ingo Schwarze, 2014/10/15