diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-04 18:43:04 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-04 23:45:09 +0100 |
commit | cde3a69a3769cbe8351ecf31179442481189194f (patch) | |
tree | 6a59204db741ed429b69335cbed1647668a86d74 /guix/build/utils.scm | |
parent | 611ae310f4ca1d93600c280e940a69b07e20c350 (diff) | |
download | guix-patches-cde3a69a3769cbe8351ecf31179442481189194f.tar guix-patches-cde3a69a3769cbe8351ecf31179442481189194f.tar.gz |
git: 'reference-available?' handles short commit IDs.
Reported by Simon Tournier on #guix.
Until now 'reference-available?' would always return #f when passed a
short commit ID.
* guix/git.scm (reference-available?): Call 'object-lookup-prefix' when
COMMIT is shorter than 40 characters.
Diffstat (limited to 'guix/build/utils.scm')
0 files changed, 0 insertions, 0 deletions