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>
This commit is contained in:
committed by
Junio C Hamano
parent
b8acac54c8
commit
334dc52f49
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user