diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-10-15 22:07:03 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-16 11:05:51 +0900 |
commit | 8eb36d9422a04a30ecc54fd69b4f836eafd10637 (patch) | |
tree | fcbafdd7eea7ab47cb5f90e2d2c4264e42690ed4 /sha1_name.c | |
parent | b420d90980a31246836680b68ca15e0239a8b696 (diff) | |
download | git-8eb36d9422a04a30ecc54fd69b4f836eafd10637.tar.gz |
refs: convert read_ref_at to struct object_id
Convert the callers and internals, including struct read_ref_at_cb, of
read_ref_at to use struct object_id.
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 514915460f..8d903a74d4 100644 --- a/sha1_name.c +++ b/sha1_name.c @@ -697,7 +697,7 @@ static int get_oid_basic(const char *str, int len, struct object_id *oid, return -1; } } - if (read_ref_at(real_ref, flags, at_time, nth, oid->hash, NULL, + if (read_ref_at(real_ref, flags, at_time, nth, oid, NULL, &co_time, &co_tz, &co_cnt)) { if (!len) { if (starts_with(real_ref, "refs/heads/")) { |