]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/am: make hash size independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:05:07 +0000 (00:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:38 +0000 (11:57 +0900)
commit24dd363ed586f5edbdea96689d4e0e40a7d3f7fa
tree9cd737e581e3ab8cb235a9f71f85fb186f2c5342
parentef479a12bd9e2891c7a1262d95f7d540f79e4a81
builtin/am: make hash size independent

Instead of using GIT_SHA1_HEXSZ, switch to using the_hash_algo and
parse_oid_hex to parse the lines involved in rebasing notes.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c