* emacs-lisp/authors.el (authors-renamed-files-alist):
[bpt/emacs.git] / admin / notes / commits
CommitLineData
4572d052 1HOW TO COMMIT CHANGES TO EMACS
796abee9 2
4572d052
GM
3http://lists.gnu.org/archive/html/emacs-devel/2009-03/msg00555.html
4From: Miles Bader
5Subject: commit style redux
6Date: Tue, 31 Mar 2009 12:21:20 +0900
7
8(1) Commit all changed files at once with a single log message (which
9 in CVS will result in an identical log message for all committed
10 files), not one-by-one. This is pretty easy using vc-dir now.
11
12(2) Make the log message describe the entire changeset, perhaps
13 including relevant changelog entiries (I often don't bother with
14 the latter if it's a trivial sort of change).
15
16 Many modern source-control systems vaguely distinguish the first
17 line of the log message to use as a short summary for abbreviated
18 history listing (in arch this was explicitly called the summary,
19 but many other systems have a similar concept). So it's nice if
20 you can format the log entry like:
21
22 SHORTISH ONE-LINE SUMMARY
23
24 MULTIPLE-LINE DETAILED DESCRIPTION POSSIBLY INCLUDING (OR
25 CONSISTING OF) CHANGELOG ENTRIES
796abee9 26
4572d052
GM
27 [Even with CVS this style is useful, because web CVS browsing
28 interfaces often include the first N words of the log message of
29 the most recent commit as a short "most recent change"
30 description.]
796abee9 31
4572d052
GM
32(3) Don't phrase log messages assuming the filename is known, because
33 in non-file-oriented systems (everything modern other than CVS),
34 the log listing tends to be treated as global information, and the
35 connection with specific files is less explicit.
796abee9 36
4572d052
GM
37 For instance, currently I often see log messages like "Regenerate";
38 for modern source-control systems with a global log, it's better to
39 have something like "Regenerate configure".
796abee9 40
4572d052
GM
41
42Followup discussion:
43http://lists.gnu.org/archive/html/emacs-devel/2010-01/msg00897.html
44
45
46PREVIOUS GUIDELINES FOR CVS
47
48For historical interest only, here is the old-style advice for CVS logs:
49http://lists.gnu.org/archive/html/emacs-devel/2007-12/msg01208.html
50
51From: Eli Zaretskii
52Subject: Re: Log messages in CVS
53Date: Sat, 29 Dec 2007 16:06:29 +0200