contrib: Verify the id to be printed is ancestor of the corresponding remote release...
authorJakub Jelinek <jakub@redhat.com>
Thu, 16 Jan 2020 11:32:34 +0000 (12:32 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 16 Jan 2020 11:36:22 +0000 (12:36 +0100)
commit2588197b6c2175d7ef9f05a8636f58dfeab12b1d
tree612d55f562f3769a1e7cad25c59204cc451f7b2e
parentf7dff7699fd70d3b8c3e637818e18c86f93ccfec
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  <jakub@redhat.com>

* 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
contrib/gcc-git-customization.sh