bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU-style ChangeLog merge driver for Git


From: Bruno Haible
Subject: Re: GNU-style ChangeLog merge driver for Git
Date: Wed, 13 Feb 2008 00:18:22 +0100
User-agent: KMail/1.5.4

James Youngman wrote:
> These days, I use a ChangeLog-format change message as my GIT commit
> message, which solves most of the problem.  It's still not that
> convenient, sadly, because
> (1) I have not yet taken the time to wrap Emacs' add-change-log-entry
> so that it creates a new file for use with git commit -F (instead I
> just cut the change off the head of ChangeLog and write the extract to
> ..git/cl-desc)

Wouldn't a wrapper around "git commit" do it? I mean, a program 'vc-commit',
such that

       vc-commit foo/bar.c bla/blah.c

does the same as

       git commit -m message foo/bar.c bla/blah.c ChangeLog

after having extracted the message from the yet-uncommitted diffs of ChangeLog.

Such a program should be usable by command-line users and by Emacs users,
right?

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]