[Top][All Lists]

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

Re: GNU-style ChangeLog merge driver for Git

From: Jim Meyering
Subject: Re: GNU-style ChangeLog merge driver for Git
Date: Wed, 13 Feb 2008 01:06:40 +0100

Bruno Haible <address@hidden> wrote:

> 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?

That's what "vc-dwim --commit" does (though only from the command line):


You can check out the sources with this:

  hg clone http://hg.et.redhat.com/hg/emd/applications/vc-dwim

Note that the package also includes Ralf Wildenhues' vc-chlog program,
which generates ChangeLog entries from a working directory with diffs
relative to a version control system (any of cvs, hg, git, svn).

reply via email to

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