diff options
| author | Eli Zaretskii | 2010-01-16 16:13:12 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2010-01-16 16:13:12 -0500 |
| commit | 5a876cd5f810b611f78dd4cf7a1673bffeea19a9 (patch) | |
| tree | 93d7479d8263fb828f95932a0cb3e3b0678fa996 /admin | |
| parent | b3108ead2d1691d8ad3005a6350c4febf92df2fb (diff) | |
| parent | abd5cfe880473c8da925d5b83e52c8019803d87d (diff) | |
| download | emacs-5a876cd5f810b611f78dd4cf7a1673bffeea19a9.tar.gz emacs-5a876cd5f810b611f78dd4cf7a1673bffeea19a9.zip | |
Merge from mainline.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/notes/commits | 53 | ||||
| -rw-r--r-- | admin/notes/cvslogs | 15 |
2 files changed, 53 insertions, 15 deletions
diff --git a/admin/notes/commits b/admin/notes/commits new file mode 100644 index 00000000000..2896328c664 --- /dev/null +++ b/admin/notes/commits | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | HOW TO COMMIT CHANGES TO EMACS | ||
| 2 | |||
| 3 | http://lists.gnu.org/archive/html/emacs-devel/2009-03/msg00555.html | ||
| 4 | From: Miles Bader | ||
| 5 | Subject: commit style redux | ||
| 6 | Date: 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 | ||
| 26 | |||
| 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.] | ||
| 31 | |||
| 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. | ||
| 36 | |||
| 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". | ||
| 40 | |||
| 41 | |||
| 42 | Followup discussion: | ||
| 43 | http://lists.gnu.org/archive/html/emacs-devel/2010-01/msg00897.html | ||
| 44 | |||
| 45 | |||
| 46 | PREVIOUS GUIDELINES FOR CVS | ||
| 47 | |||
| 48 | For historical interest only, here is the old-style advice for CVS logs: | ||
| 49 | http://lists.gnu.org/archive/html/emacs-devel/2007-12/msg01208.html | ||
| 50 | |||
| 51 | From: Eli Zaretskii | ||
| 52 | Subject: Re: Log messages in CVS | ||
| 53 | Date: Sat, 29 Dec 2007 16:06:29 +0200 | ||
diff --git a/admin/notes/cvslogs b/admin/notes/cvslogs deleted file mode 100644 index ff2dcc93ff5..00000000000 --- a/admin/notes/cvslogs +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | http://lists.gnu.org/archive/html/emacs-devel/2007-12/msg01208.html | ||
| 2 | |||
| 3 | From: Eli Zaretskii | ||
| 4 | Subject: Re: Log messages in CVS | ||
| 5 | Date: Sat, 29 Dec 2007 16:06:29 +0200 | ||
| 6 | |||
| 7 | I once posted a summary that I know about; see: | ||
| 8 | |||
| 9 | http://lists.gnu.org/archive/html/emacs-devel/2006-11/msg00229.html | ||
| 10 | http://lists.gnu.org/archive/html/emacs-devel/2006-11/msg00234.html | ||
| 11 | http://lists.gnu.org/archive/html/emacs-devel/2006-11/msg00312.html | ||
| 12 | |||
| 13 | Richard commented here, basically approving my summary: | ||
| 14 | |||
| 15 | http://lists.gnu.org/archive/html/emacs-devel/2006-11/msg00276.html | ||