+static struct string_list_item *lookup_prefix(struct string_list *map,
+ const char *string, size_t len)
+{
+ int i = string_list_find_insert_index(map, string, 1);
+ if (i 0) {
+ /* exact match */
+ i =
Antoine Pelisse apeli...@gmail.com writes:
+static struct string_list_item *lookup_prefix(struct string_list *map,
+ const char *string, size_t len)
+{
+ int i = string_list_find_insert_index(map, string, 1);
+ if (i 0) {
+
Junio C Hamano gits...@pobox.com writes:
Antoine Pelisse apeli...@gmail.com writes:
+static struct string_list_item *lookup_prefix(struct string_list *map,
+ const char *string, size_t
len)
+{
+ int i = string_list_find_insert_index(map,
In map_user(), we have email pointer that points at the beginning of
an e-mail address, but the buffer is not terminated with a NUL after
the e-mail address. It typically has after the address, and it
could have even more if it comes from author/committer line in a
commit object. Or it may not
4 matches
Mail list logo