Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
checkout: constify parameters of checkout_stage() and checkout_merged()
[gitweb.git]
/
http-backend.c
diff --git
a/http-backend.c
b/http-backend.c
index bac40ef6e6e3566a0ceda81303a6ebb769ac520d..8870a2681eb375505e4273b03a0d3e034e59a48e 100644
(file)
--- a/
http-backend.c
+++ b/
http-backend.c
@@
-436,7
+436,7
@@
static int show_text_ref(const char *name, const struct object_id *oid,
o = deref_tag(o, name, 0);
if (!o)
return 0;
- strbuf_addf(buf, "%s\t%s^{}\n",
sha1_to_hex(o->sha1
),
+ strbuf_addf(buf, "%s\t%s^{}\n",
oid_to_hex(&o->oid
),
name_nons);
}
return 0;