Commit Graph

6 Commits

Author SHA1 Message Date
Martin Liska
03b0bf7830 Come up with git-fix-changelog.py script.
contrib/ChangeLog:

	* git-backport.py: Use it.
	* git-fix-changelog.py: New file.
	* gcc-git-customization.sh: Add new alias git gcc-fix-changelog.
2022-01-19 09:08:51 +01:00
Martin Liska
938ea06c5e git-backport: support renamed .cc files in commit message.
The change can automatically update names for *.cc files that
are part of a backport.

contrib/ChangeLog:

	* git-backport.py: Support renaming of .cc files.
2022-01-17 22:29:23 +01:00
Martin Liska
db0d23722e Simplify git-backport.py script.
It's very unlikely that somebody is going to backport a revision
that is > 14 months old to a release branch.

contrib/ChangeLog:

	* git-backport.py: Simplify the script as pre-auto-ChangeLog era
	is 14 months old.
2022-01-13 11:49:36 +01:00
Martin Liska
5175857714
gcc-changelog: fix combining of arguments.
contrib/ChangeLog:

2020-07-29  Martin Liska  <mliska@suse.cz>

	* git-backport.py: fix how are ChangeLog paths combined.
2020-07-29 14:17:43 +02:00
Martin Liska
24663f1f6d
Fix various limitations of git-backport.py.
I've just tested the script and I'm going to install the patch
to all active branches.

contrib/ChangeLog:

	* git-backport.py: The script did 'git co HEAD~' when
	there was no modified ChangeLog file in a successful
	git cherry pick.
	Run cherry-pick --continue without editor.
2020-05-29 11:29:25 +02:00
Martin Liska
e247d59274
Add new git-backport.py script.
contrib/ChangeLog:

	* gcc-git-customization.sh: Use git-backport.py to drop
	all changes for ChangeLog files.
	* git-backport.py: New file.
2020-05-27 12:04:57 +02:00