diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-03-17 23:59:18 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-03-18 00:02:06 +0100 |
commit | 95bd9f65a8ee64d17707a76aebc8720bbd961b68 (patch) | |
tree | 75e625e308ce3440903effabced85c146972a8b8 /guix/records.scm | |
parent | 44efe67ed0def7b1c246e8705d23f4554b65247f (diff) |
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 'guix/records.scm')
0 files changed, 0 insertions, 0 deletions