/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert struct object to object_id
[git/git.git]
/
server-info.c
diff --git
a/server-info.c
b/server-info.c
index
c82e9ee
..
5a86e29
100644
(file)
--- a/
server-info.c
+++ b/
server-info.c
@@
-62,7
+62,7
@@
static int add_info_ref(const char *path, const struct object_id *oid,
o = deref_tag(o, path, 0);
if (o)
if (fprintf(fp, "%s %s^{}\n",
-
sha1_to_hex(o->sha1
), path) < 0)
+
oid_to_hex(&o->oid
), path) < 0)
return -1;
}
return 0;