diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-02-07 00:52:51 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-07 11:07:31 -0800 |
commit | d341e0805d91b4575ed3426be8e8bcb44744846c (patch) | |
tree | bc35e723adc11593c7584e67e6950a40bf30c79e /Documentation/git-switch.txt | |
parent | t5607: make hash size independent (diff) | |
download | tgif-d341e0805d91b4575ed3426be8e8bcb44744846c.tar.xz |
t5703: make test work with SHA-256
This test used an object ID which was 40 hex characters in length,
causing the test not only not to pass, but to hang, when run with
SHA-256 as the hash. Change this value to a fixed dummy object ID using
test_oid_init and test_oid.
Furthermore, ensure we extract an object ID of the appropriate length
using cut with fields instead of a fixed length.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-switch.txt')
0 files changed, 0 insertions, 0 deletions