mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
git: Nicely report '--with-commit' errors.
* guix/git.scm (latest-repository-commit*): Rewrite to catch 'git-error'. * po/guix/POTFILES.in: Add guix/git.scm. * tests/guix-build-branch.sh: Test --with-commit errors.
This commit is contained in:
committed by
Ludovic Courtès
parent
b18f7234aa
commit
a3d77c51bc
@@ -51,3 +51,6 @@ v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=9e3eacdec1d -d`"
|
||||
guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-git.9e3eacd
|
||||
test "$v0_1_0_drv" != "$latest_drv"
|
||||
test "$v0_1_0_drv" != "$orig_drv"
|
||||
|
||||
if guix build guix --with-commit=guile-gcrypt=000 -d
|
||||
then false; else true; fi
|
||||
|
||||
Reference in New Issue
Block a user