summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-02-19 00:05:22 +0000
committerJunio C Hamano <gitster@pobox.com>2019-04-01 11:57:39 +0900
commitebe4df59c45ea95ce51fd8fede2a08d9009e990f (patch)
treeb7bd4ffa0399b6574c045cd406d3b84d55ad2804 /dir.c
parentb8d45d035536b5635929d281f1b4aae004d8891b (diff)
downloadgit-ebe4df59c45ea95ce51fd8fede2a08d9009e990f.tar.gz
builtin/difftool: use parse_oid_hex
Instead of using get_oid_hex and adding constants to the result, use parse_oid_hex to make this code independent of the hash size. Additionally, correct a typo that would cause us to print one too few characters on error, since we will already have incremented the pointer to point to the beginning of the object ID before we get to printing the error message. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions