crosstool-ng/scripts
Christoph Muellner 1dc25bf611 scripts/functions: Add better support for annotanted git tags
Annotated git tags are git objects with their own ID.
They contain the commit ID where they point to.

When downloading from annotated tags, we currently get the following warning:
  "Revision being fetched changed to ${new_unique_id};"
The old unique_id is the ID of the annotated tag and the new unique_id
is the commit it points to.

Let's resolve this by first assuming to have an annotated tag and let
git ls-remote dereference it. If that fails (e.g. if it can't be
dereferenced because it is not an annotated tag), then let's proceed as
before and don't do any dereferencing.

Signed-off-by: Christoph Muellner <cmuellner@linux.com>
2021-05-06 02:21:33 +02:00
..
build Merge branch 'abrodkin-newlib-nano-relocatable' of git://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng 2021-04-19 20:29:26 +12:00
override Add checking for *sum and unzip 2018-04-29 12:06:54 -07:00
upgrade Move GDB build into a common backend function 2019-03-09 18:01:30 -08:00
compile WIP: autotoolization 2018-04-07 12:03:17 -07:00
config.guess Run through 'ct-ng updatetools' 2020-12-04 10:14:53 -06:00
config.rpath Use autoconfig-archve/automake tests 2018-04-07 12:02:33 -07:00
config.sub Run through 'ct-ng updatetools' 2020-12-04 10:14:53 -06:00
crosstool-NG.sh crosstool-NG: Fix libtool for mangled tuples as all other cross-tools 2020-08-03 13:41:49 +07:00
depcomp WIP: autotoolization 2018-04-07 12:03:17 -07:00
functions scripts/functions: Add better support for annotanted git tags 2021-05-06 02:21:33 +02:00
install-sh WIP: autotoolization 2018-04-07 12:03:17 -07:00
ltmain.sh WIP: autotoolization 2018-04-07 12:03:17 -07:00
missing WIP: autotoolization 2018-04-07 12:03:17 -07:00
populate.in Revert "Determine whether -E/-r option selects extended regexp" 2017-02-26 19:06:35 -08:00
saveSample.sh Support out-of-tree local builds 2018-04-07 14:39:56 -07:00
scripts.mk Fix installation of the license file 2018-11-12 01:19:04 -08:00
show-config.sh Use enhanced framework for 'ct-ng update-samples' 2019-02-09 15:55:16 -08:00
show-tuple.sh Support out-of-tree local builds 2018-04-07 14:39:56 -07:00
toolchain-config.in scripts: simplify and fix the toolchain config script 2011-08-19 00:52:05 +02:00
version-check.sh Use enhanced framework for 'ct-ng update-samples' 2019-02-09 15:55:16 -08:00
xldd.in Doc renames & issue template 2017-04-13 00:07:29 -07:00