diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-02-22 02:47:32 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-22 21:12:15 +0300 |
commit | 9461d27240c158cf781ce706a077663050179b14 (patch) | |
tree | b7cd7ab70db3881689f8afb068c3a4a25f4f5784 /sha1_name.c | |
parent | 8ebc3fd01bcedcb9a442da1114f37d1a4b8869a0 (diff) |
refs: convert each_reflog_ent_fn to struct object_id
Make each_reflog_ent_fn take two struct object_id pointers instead of
two pointers to unsigned char. Convert the various callbacks to use
struct object_id as well. Also, rename fsck_handle_reflog_sha1 to
fsck_handle_reflog_oid.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_name.c')
-rw-r--r-- | sha1_name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_name.c b/sha1_name.c index 73a915ff1b..744e9f884a 100644 --- a/sha1_name.c +++ b/sha1_name.c @@ -1051,7 +1051,7 @@ struct grab_nth_branch_switch_cbdata { struct strbuf buf; }; -static int grab_nth_branch_switch(unsigned char *osha1, unsigned char *nsha1, +static int grab_nth_branch_switch(struct object_id *ooid, struct object_id *noid, const char *email, unsigned long timestamp, int tz, const char *message, void *cb_data) { |