Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/use-isxdigit'
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index 0694a7cf3e4a8bd7bec9fefcd440d65423021a1b..00f39d9f5ba8c024ec2b9c6c2a054a0045eadbbb 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-117,7
+117,7
@@
static void insert_packed_refs(const char *packed_refs, struct ref **list)
return;
}
- if (
hexval(buffer[0]) > 0xf
)
+ if (
!isxdigit(buffer[0])
)
continue;
len = strlen(buffer);
if (len && buffer[len - 1] == '\n')