Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_name: convert disambiguate_hint_fn to take object_id
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index 417ed7f19f5fcec5fdf9828749e1e40b207a44e7..8a90b0c29b1557b631b6f679add93261f8288f7e 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-447,7
+447,7
@@
static int print_one_push_status(struct ref *ref, const char *dest, int count,
static int measure_abbrev(const struct object_id *oid, int sofar)
{
- char hex[GIT_
SHA1
_HEXSZ + 1];
+ char hex[GIT_
MAX
_HEXSZ + 1];
int w = find_unique_abbrev_r(hex, oid->hash, DEFAULT_ABBREV);
return (w < sofar) ? sofar : w;