summary refs log tree commit diff
path: root/tests/guix-environment-container.sh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-06-07 22:14:56 +0200
committerLudovic Courtès <ludo@gnu.org>2020-06-07 23:10:46 +0200
commit1fd7de45f218ce572a3fe87764ad15927e3dbdc4 (patch)
tree403fdff74a8d91fec1b595e203af7b294ff23d4f /tests/guix-environment-container.sh
parent715f589ea39146fa66cce5470c0368073c471540 (diff)
downloadguix-1fd7de45f218ce572a3fe87764ad15927e3dbdc4.tar.gz
git: 'update-cached-checkout' gracefully handles missing starting commit.
Fixes <https://bugs.gnu.org/41604>
Reported by John Soo <jsoo1@asu.edu> and zimoun <zimon.toutoune@gmail.com>.

* guix/git.scm (false-if-git-not-found): New macro.
(reference-available?): Use it.
(update-cached-checkout): Use it when looking up STARTING-COMMIT.
Set RELATION to 'unrelated when OLD is #false.
Diffstat (limited to 'tests/guix-environment-container.sh')
0 files changed, 0 insertions, 0 deletions