diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-06-07 22:14:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-06-07 23:10:46 +0200 |
commit | 1fd7de45f218ce572a3fe87764ad15927e3dbdc4 (patch) | |
tree | 403fdff74a8d91fec1b595e203af7b294ff23d4f /tests/import-utils.scm | |
parent | 715f589ea39146fa66cce5470c0368073c471540 (diff) | |
download | guix-1fd7de45f218ce572a3fe87764ad15927e3dbdc4.tar guix-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/import-utils.scm')
0 files changed, 0 insertions, 0 deletions