Re: Towards removal of gcc/DATESTAMP

2020-01-14 Thread Joseph Myers
On Tue, 14 Jan 2020, Jakub Jelinek wrote: > o=$(git config --get gcc-config.upstream); test -z "$o" && o=origin; r=$(cat > BASE-VER | cut -d. -f 1); b=; if git rev-parse --verify --quiet > $o/releases/gcc-$r >/dev/null; then b=origin/releases/gcc-$r; elif git > rev-parse --verify --quiet $o/rel

Re: Towards removal of gcc/DATESTAMP

2020-01-14 Thread Jakub Jelinek
On Tue, Jan 14, 2020 at 04:52:12PM +0100, Jakub Jelinek wrote: > The following command prints the same string as DATESTAMP file > contains in all gcc-7 and later based branches I've tried so far (and nothing > when > e.g. invoked from within svn checkout). Jonathan wondered on IRC about the weird

Towards removal of gcc/DATESTAMP

2020-01-14 Thread Jakub Jelinek
Hi! The following command prints the same string as DATESTAMP file contains in all gcc-7 and later based branches I've tried so far (and nothing when e.g. invoked from within svn checkout). o=$(git config --get gcc-config.upstream); test -z "$o" && o=origin; r=$(cat BASE-VER | cut -d. -f 1); b=