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 Remove Cell Broadband Engine SPU targets 2019-09-03 15:08:28 +00:00
legacy Move 2 mklog scripts to legacy subfolder. 2020-05-19 11:39:58 +02:00
reghunt
regression
testsuite-management
unicode Byte vs column awareness for diagnostic-show-locus.c (PR 49973) 2019-12-09 20:03:47 +00:00
vim-gcc-dev contrib/vimrc: override formatting options for more files 2019-09-02 15:30:02 +03:00
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 Tweak clang-format configuration. 2019-09-18 13:32:25 +00:00
compare_tests
compare_two_ftime_report_sets
compare-all-tests Remove Cell Broadband Engine SPU targets 2019-09-03 15:08:28 +00:00
compare-debug revamp dump and aux output names 2020-05-26 04:30:15 -03:00
compare-lto
compareSumTests3
config-list.mk MSP430: Add new msp430-elfbare target 2019-12-16 11:02:10 +00:00
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 download_prerequisites: Use http instead of ftp for downloading. 2019-11-13 19:48:52 +02:00
filter_gcc_for_doxygen
filter_knr2ansi.pl
filter_params.py
filter-clang-warnings.py
gcc_build
gcc_update intl: Unbreak intl build with bison 3 when no regeneration is needed [PR92008] 2020-04-16 11:55:00 +02:00
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 contrib: Change 'remote' for personal branches and add branch creation script 2020-01-24 14:38:16 +00:00
git-add-vendor-branch.sh contrib: script to create a new vendor branch 2020-01-22 10:06:50 +00:00
git-backport.py Add new git-backport.py script. 2020-05-27 12:04:57 +02:00
git-fetch-vendor.sh contrib: New remotes structure for vendor and personal refs 2020-01-20 10:37:29 +00:00
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 Fix @multitable handling in texi2pod.pl 2019-12-07 09:57:04 +00:00
uninclude
unused_functions.py
update-copyright.py update-copyright.py: Add Mentor Graphics Corporation and Yoshinori Sato as external authors. 2020-01-01 12:26:53 +01:00
vimrc contrib/vimrc: Reduce textwidth for commit messages 2020-05-13 14:58:50 +02:00
warn_summary