From 2588197b6c2175d7ef9f05a8636f58dfeab12b1d Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 16 Jan 2020 12:32:34 +0100 Subject: contrib: Verify the id to be printed is ancestor of the corresponding remote release branch (or master), otherwise print nothing. The monotonically increasing revision ids need to be globally unique, so they should only identify commits that were committed to the upstream repo to its master or releases/gcc-N branches. The alias could print something even for private branches or vendor branches etc., but if such an identifier is then used publicly, it will refer to something else. 2020-01-16 Jakub Jelinek * gcc-git-customization.sh: Verify the id to be printed is ancestor of the corresponding remote release branch (or master), otherwise print nothing. --- contrib/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'contrib/ChangeLog') diff --git a/contrib/ChangeLog b/contrib/ChangeLog index b8ea20f101e..4bda991c7c3 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,9 @@ +2020-01-16 Jakub Jelinek + + * gcc-git-customization.sh: Verify the id to be printed is ancestor of + the corresponding remote release branch (or master), otherwise print + nothing. + 2020-01-15 Segher Boessenkool Jakub Jelinek -- cgit v1.2.3