gcc/contrib
Pierre-Marie de Rodat a634157de1 gcc-changelog: enhance handling of renamings
So far, we expect from a commit that renames a file to contain a
changelog entry only for the new name. For example, after the following
commit:

   $ git move foo bar
   $ git commit

We expect the following changelog:

   * bar: Renamed from foo.

Git does not keep track of renamings, only file deletions and additions.
The display of patches then uses heuristics (with config-dependent
parameters) to try to match deleted and added files in the same commit.
It is thus brittle to rely on this information.

This commit modifies changelog processing so that renames are considered
as a deletion of a file plus an addition of another file. The following
changelog is now expected for the above example:

   * foo: Move...
   * bar: Here.

contrib/

	* gcc-changelog/git_email.py (GitEmail.__init__): Interpret file
	renamings as a file deletion plus a file addition.
	* gcc-changelog/git_repository.py (parse_git_revisions):
	Likewise.
	* gcc-changelog/test_email.py: New testcase.
	* gcc-changelog/test_patches.txt: New testcase.
2020-05-28 11:14:44 +02:00
..
gcc-changelog gcc-changelog: enhance handling of renamings 2020-05-28 11:14:44 +02:00
header-tools
legacy Move 2 mklog scripts to legacy subfolder. 2020-05-19 11:39:58 +02:00
reghunt
regression
testsuite-management
unicode
vim-gcc-dev
analyze_brprob_spec.py
analyze_brprob.py
bench-stringop
ChangeLog Daily bump. 2020-05-28 04:23:50 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
check_GNU_style_lib.py
check_GNU_style.py
check_GNU_style.sh
check_makefile_deps.sh
check_warning_flags.sh
check-internal-format-escaping.py
check-params-in-docs.py Fix check-params-in-docs.py for --help=param. 2020-05-28 10:36:48 +02:00
clang-format
compare_tests
compare_two_ftime_report_sets
compare-all-tests
compare-debug revamp dump and aux output names 2020-05-26 04:30:15 -03:00
compare-lto
compareSumTests3
config-list.mk
dg-cmp-results.sh
dg-extract-results.py contrib: Handle GDB specific test result types 2020-05-15 11:19:15 +01:00
dg-extract-results.sh contrib: Handle GDB specific test result types 2020-05-15 11:19:15 +01:00
dglib.pm
download_prerequisites
filter_gcc_for_doxygen
filter_knr2ansi.pl
filter_params.py
filter-clang-warnings.py
gcc_build
gcc_update
gcc-git-customization.sh Add new git-backport.py script. 2020-05-27 12:04:57 +02:00
gcc.doxy
gen_autofdo_event.py
gennews
git-add-user-branch.sh
git-add-vendor-branch.sh
git-backport.py Add new git-backport.py script. 2020-05-27 12:04:57 +02:00
git-fetch-vendor.sh
gthr_supp_vxw_5x.c
index-prop
jit-coverage-report.py
maintainers-verify.sh
make_sunver.pl
make-obstacks-texi.pl
mark_spam.py
mklog.py mklog: support renaming of files 2020-05-28 10:27:09 +02:00
paranoia.cc
patch_tester.sh
prepare_patch.sh
prepare-commit-msg prepare-commit-msg: Save diff if requested by user. 2020-05-27 10:12:58 +02:00
prerequisites.md5
prerequisites.sha512
repro_fail
test_installed
test_mklog.py mklog: support renaming of files 2020-05-28 10:27:09 +02:00
test_recheck
test_summary test_summary: Do not escape "=". 2019-08-13 17:17:49 +02:00
texi2pod.pl
uninclude
unused_functions.py
update-copyright.py
vimrc contrib/vimrc: Reduce textwidth for commit messages 2020-05-13 14:58:50 +02:00
warn_summary