Re: [PATCH 0/5] Use string_lists when processing notes

2012-11-06 Thread Johan Herland
On Tue, Nov 6, 2012 at 8:56 AM, Michael Haggerty wrote: > On 11/04/2012 10:05 PM, Johan Herland wrote: >> On Sun, Nov 4, 2012 at 8:07 AM, Michael Haggerty >> wrote: >>> This simplifies the code. Also, sort lines all at once (O(N lg N)) >>> rather than insertion sorting as lines are processed (O

[PATCH 0/5] Use string_lists when processing notes

2012-11-04 Thread Michael Haggerty
This simplifies the code. Also, sort lines all at once (O(N lg N)) rather than insertion sorting as lines are processed (O(N^2)) and fix the handling of empty values in GIT_NOTES_DISPLAY_REF and GIT_NOTES_REWRITE_REF. Michael Haggerty (5): string_list: add a function string_list_remove_empty_it