summaryrefslogtreecommitdiff
path: root/reflog-walk.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-10-15 22:06:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-10-16 02:05:51 (GMT)
commit334dc52f49ee3e56a32142d3500fe93ef79aac67 (patch)
treeb9f130941739b6515f7d3588331bc562e1376e3a /reflog-walk.c
parentb8acac54c8f91e2b677137665a2d750b086875dc (diff)
downloadgit-334dc52f49ee3e56a32142d3500fe93ef79aac67.zip
git-334dc52f49ee3e56a32142d3500fe93ef79aac67.tar.gz
git-334dc52f49ee3e56a32142d3500fe93ef79aac67.tar.bz2
refs: convert dwim_log to struct object_id
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reflog-walk.c')
-rw-r--r--reflog-walk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reflog-walk.c b/reflog-walk.c
index 842b2f7..5008bbf 100644
--- a/reflog-walk.c
+++ b/reflog-walk.c
@@ -161,7 +161,7 @@ int add_reflog_for_walk(struct reflog_walk_info *info,
struct object_id oid;
char *b;
int ret = dwim_log(branch, strlen(branch),
- oid.hash, &b);
+ &oid, &b);
if (ret > 1)
free(b);
else if (ret == 1) {