diff options
author | René Scharfe <l.s.r@web.de> | 2016-08-05 23:01:35 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-05 15:11:06 -0700 |
commit | 02a8cfa478bcc5da72be549a2fbcae2f37bac1cd (patch) | |
tree | 6355858d357481cf3b3065191dcc8ed671b6ce39 /bulk-checkin.c | |
parent | Some fixes for 2.9.3 (diff) | |
download | tgif-02a8cfa478bcc5da72be549a2fbcae2f37bac1cd.tar.xz |
merge: use string_list_split() in add_strategies()
Call string_list_split() for cutting a space separated list into pieces
instead of reimplementing it based on struct strategy. The attr member
of struct strategy was not used split_merge_strategies(); it was a pure
string operation. Also be nice and clean up once we're done splitting;
the old code didn't bother freeing any of the allocated memory.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bulk-checkin.c')
0 files changed, 0 insertions, 0 deletions