Commit 5a4ffc80 authored by Junio C Hamano's avatar Junio C Hamano

Merge branch 'maint'

* maint:
  path-list: fix path-list-insert return value
parents 8eaf7986 057bc808
......@@ -57,7 +57,7 @@ struct path_list_item *path_list_insert(const char *path, struct path_list *list
int index = add_entry(list, path);
if (index < 0)
index = 1 - index;
index = -1 - index;
return list->items + index;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment