summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-10-15 22:07:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-10-16 02:05:51 (GMT)
commit8eb36d9422a04a30ecc54fd69b4f836eafd10637 (patch)
treefcbafdd7eea7ab47cb5f90e2d2c4264e42690ed4 /refs.h
parentb420d90980a31246836680b68ca15e0239a8b696 (diff)
downloadgit-8eb36d9422a04a30ecc54fd69b4f836eafd10637.zip
git-8eb36d9422a04a30ecc54fd69b4f836eafd10637.tar.gz
git-8eb36d9422a04a30ecc54fd69b4f836eafd10637.tar.bz2
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 'refs.h')
-rw-r--r--refs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.h b/refs.h
index 89f28d4..5f329d6 100644
--- a/refs.h
+++ b/refs.h
@@ -363,7 +363,7 @@ int safe_create_reflog(const char *refname, int force_create, struct strbuf *err
/** Reads log for the value of ref during at_time. **/
int read_ref_at(const char *refname, unsigned int flags,
timestamp_t at_time, int cnt,
- unsigned char *sha1, char **msg,
+ struct object_id *oid, char **msg,
timestamp_t *cutoff_time, int *cutoff_tz, int *cutoff_cnt);
/** Check if a particular reflog exists */