diff options
author | Jiang Xin <worldhello.net@gmail.com> | 2021-06-17 11:17:27 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-06-17 14:12:24 +0900 |
commit | 12d6991cf417465d567c38ba8ae7d59bda7a202f (patch) | |
tree | 9474d49f346d2db497f1bc2b95dacaf61b69128a /contrib/hooks/multimail/CHANGES | |
parent | test: refactor to use "test_commit" to create commits (diff) | |
download | tgif-12d6991cf417465d567c38ba8ae7d59bda7a202f.tar.xz |
test: refactor to use "get_abbrev_oid" to get abbrev oid
Add new function "get_abbrev_oid" to get abbrev object ID. This
function has a default value which helps to prepare a nonempty replace
pattern for sed command. An empty replace pattern may cause sed fail
to allocate memory.
Refactor function "make_user_friendly_and_stable_output" to use
"get_abbrev_oid" to get abbrev object ID.
Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks/multimail/CHANGES')
0 files changed, 0 insertions, 0 deletions