From 1a9a75d7c7c33cd89f1c34445d56e51dc349dc31 Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Thu, 29 Sep 2016 21:44:41 +0200
Subject: ui-log: replace get_sha1() with get_oid()

Data structures have been replaced already, so use correct function calls.
---
 ui-log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ui-log.c')

diff --git a/ui-log.c b/ui-log.c
index a31ff7c..6cc81a3 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -325,7 +325,7 @@ static const char *disambiguate_ref(const char *ref, int *must_free_result)
 	struct strbuf longref = STRBUF_INIT;
 
 	strbuf_addf(&longref, "refs/heads/%s", ref);
-	if (get_sha1(longref.buf, oid.hash) == 0) {
+	if (get_oid(longref.buf, &oid) == 0) {
 		*must_free_result = 1;
 		return strbuf_detach(&longref, NULL);
 	}
-- 
cgit 1.4.1-3-g733a5