Репозиторий Sisyphus
Последнее обновление: 23 марта 2023 | Пакетов: 18288 | Посещений: 27144713
en ru br
Репозитории ALT

Группа :: Работа с текстами
Пакет: git-merge-changelog

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: git-merge-changelog
Version: %{get_version gnulib}
Release: alt1

Summary: git merge driver for GNU style ChangeLog files
License: GPLv2+
Group: Text tools
Url: https://www.gnu.org/software/gnulib/
BuildRequires(pre): gnulib

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.

git-merge-changelog program serves as a 'git' merge driver that avoids
these problems.
1. It produces no conflict when 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.
2. It respects the structure of ChangeLog files: entries are not split
  into lines but kept together.
3. It also handles the case of small modifications of past ChangeLog
  entries, or of removed ChangeLog entries: they are merged as one
  would expect it.
4. Conflicts are presented at the top of the file, rather than where
  they occurred, so that the user will see them immediately. (Unlike
  for source code written in some programming language, conflict markers
  that are located several hundreds lines from the top will not cause
  any syntax error and therefore would be likely to remain unnoticed.)

%setup -cT

gnulib-tool --create-testdir --dir=$PWD %name


%make_build -k check



Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin