From: Aman S Kohli <akohli@iona.com>
Subject: Re: ChangeLog and Version Control
Date: 26 Sep 2002 09:39:02 +0100 [thread overview]
Message-ID: <rp65wt16xl.fsf@kanha.dublin.iona.ie> (raw)
In-Reply-To: vafwup9tayh.fsf@lucy.cs.uni-dortmund.de
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> rmolen@socal.rr.com (Richard V. Molen) writes:
>
> I think this is not the default behavior. The default behavior is
> that the ChangeLog file is not changed after doing C-c C-c.
>
> So something in your config must be doing it.
vc provides a function to use as part of the checkin hook. I got this from
<URL http://www.ece.utexas.edu/projects/courses/spring_02/ee379k/bow-20020213/HACKING>
(add-hook 'vc-checkin-hook 'vc-checkin-add-log)
;;; Insert the file's new log entries in ChangeLog.
(defun vc-checkin-add-log ()
(let ((log (find-change-log)))
(and log
(y-or-n-p (format "Update %s for %s changes? "
(file-relative-name log)
(file-relative-name buffer-file-name)))
(vc-comment-to-change-log nil log))))
Aman
> kai
> --
> ~/.signature is: umop ap!sdn (Frank Nobis)
next prev parent reply other threads:[~2002-09-26 8:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-26 6:59 ChangeLog and Version Control Richard V. Molen
2002-09-26 8:24 ` Kai Großjohann
2002-09-26 8:39 ` Aman S Kohli [this message]
2002-09-26 14:29 ` Kai Großjohann
2002-09-26 17:19 ` Stefan Monnier <foo@acm.com>
2002-09-26 21:34 ` Richard V. Molen
2002-09-27 7:08 ` Aman S Kohli
2002-09-27 15:42 ` Richard V. Molen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rp65wt16xl.fsf@kanha.dublin.iona.ie \
--to=akohli@iona.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).