log-edit-insert-changelog
log-edit-insert-changelog is an interactive compiled Lisp function in `log-edit.el
'.
(log-edit-insert-changelog &optional USE-FIRST)
Insert a log message by looking at the ChangeLog.
The idea is to write your ChangeLog entries first, and then use this
command to commit your changes.
To select default log text, we:
- find the ChangeLog entries for the files to be checked in,
- verify that the top entry in the ChangeLog is on the current date
and by the current user; if not, we don't provide any default text,
- search the ChangeLog entry for paragraphs containing the names of
the files we're checking in, and finally
- use those paragraphs as the log text.
If the optional prefix arg USE-FIRST is given (via C-u),
or if the command is repeated a second time in a row, use the first log entry
regardless of user name or time.