1
0
mirror of https://github.com/git/git.git synced 2024-09-25 00:31:44 +02:00
git/refs
brian m. carlson 4322478a49 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>
2017-05-08 15:12:57 +09:00
..
files-backend.c reflog_expire: convert to struct object_id 2017-05-08 15:12:57 +09:00
iterator.c
ref-cache.c do_for_each_entry_in_dir(): delete function 2017-04-16 21:32:46 -07:00
ref-cache.h do_for_each_entry_in_dir(): delete function 2017-04-16 21:32:46 -07:00
refs-internal.h refs_verify_refname_available(): implement once for all backends 2017-04-16 21:32:45 -07:00