diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-05-06 22:10:00 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 15:12:57 +0900 |
commit | 4322478a496a5b729a77792584e427d9e7132386 (patch) | |
tree | f8ebe31e85015b7aa2f7e819fdde26b626a14481 /t/t4025-hunk-header.sh | |
parent | parse-options-cb: convert to struct object_id (diff) | |
download | tgif-4322478a496a5b729a77792584e427d9e7132386.tar.xz |
reflog_expire: convert to struct object_id
Adjust the callback functions to take struct object_id * instead of
unsigned char *, and modify related static functions accordingly.
Introduce a temporary object_id instance into files_reflog_expire and
copy the SHA-1 value passed in. This is necessary because the sha1
parameter can come indirectly from get_sha1. Without the temporary, it
would require much more refactoring to be able to convert this function.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4025-hunk-header.sh')
0 files changed, 0 insertions, 0 deletions