The default merge driver of git
always produces conflicts when
pulling public modifications into a privately modified ChangeLog
file.
This is because ChangeLog
files are always modified at the top; the
default merge driver has no clue how to deal with this. Furthermore
the conflicts are presented with more <<<<
====
>>>>
markers than
necessary; this is because the default merge driver makes pointless
efforts to look at the individual line changes inside a ChangeLog
entry.
This program serves as a git
merge driver that avoids these problems.
ChangeLog
entries have been inserted
at the top both in the public and in the private modification. It
puts the privately added entries above the publicly added entries.ChangeLog
files: entries are not split
into lines but kept together.ChangeLog
entries, or of removed ChangeLog
entries: they are merged as one
would expect it.INSTALL
file.
git-merge-changelog can soon be downloaded from https://ftp.gnu.org/gnu/vc-changelog/git-merge-changelog-1.0.tar.gz. For other ways to obtain git-merge-changelog, please read How to get GNU Software.
The latest development sources can be obtained through the savannah project.
<bug-vc-changelog
-antispam@
antispam.gnu.org>
.
Please send general FSF & GNU inquiries to
<gnu@gnu.org>.
There are also other ways to contact the FSF.
Please send broken links and other corrections or suggestions to
<bug-vc-changelog
-antispam@
antispam.gnu.org>
.
Copyright (C) 1998, 2025 Free Software Foundation, Inc.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
Last updated: $Date: 2025年08月06日 05:20:14 $ $Author: haible $