Fix 'Git error: unable to parse OID - contains invalid characters' issue.

With Trisquel 11 (aramo) and its guix package (guix 1.3.0) using 'guix
time-machine --commit=v1.4.0' fails like that:
    $ guix time-machine --commit=v1.4.0 -- describe
    guix time-machine: error: Git error: unable to parse OID - contains invalid characters

But if we use the real commit hash instead of the tag name, the same
command works fine:
    $ guix time-machine --commit=8e2f32cee982d42a79e53fc1e9aa7b8ff0514714 -- describe
      guix 8e2f32c
        repository URL: https://git.savannah.gnu.org/git/guix.git
        commit: 8e2f32cee982d42a79e53fc1e9aa7b8ff0514714

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien Bourmault <neox@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-07-31 02:59:25 +00:00 committed by Adrien Bourmault
parent d0028b81ed
commit 5dba3872b4
Signed by: neox
GPG Key ID: 57BC26A3687116F6
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ AC_SUBST([GUIX_BUILD_MAX_CORES], [])
# to start downloading Guix 1.4.0 packages. So that can make things
# a lot faster.
AC_SUBST([GUIX_REVISION], [v1.4.0])
AC_SUBST([GUIX_REVISION], [8e2f32cee982d42a79e53fc1e9aa7b8ff0514714])
# --enable-kvm
AC_ARG_ENABLE(kvm,