summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-03-17 23:59:18 +0100
committerLudovic Courtès <ludo@gnu.org>2018-03-18 00:02:06 +0100
commit95bd9f65a8ee64d17707a76aebc8720bbd961b68 (patch)
tree75e625e308ce3440903effabced85c146972a8b8 /gnu
parent44efe67ed0def7b1c246e8705d23f4554b65247f (diff)
downloadguix-95bd9f65a8ee64d17707a76aebc8720bbd961b68.tar.gz
git: 'switch-to-ref' accepts short commit IDs.
Fixes <https://bugs.gnu.org/30716>.
Reported by Björn Höfling <bjoern.hoefling@bjoernhoefling.de>.

* guix/git.scm (switch-to-ref): When REF is a commit, check the length
of COMMIT and use 'object-lookup-prefix' if available.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions