summaryrefslogtreecommitdiff
path: root/builtin/submodule--helper.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-08-05 23:01:35 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-05 15:11:06 -0700
commit02a8cfa478bcc5da72be549a2fbcae2f37bac1cd (patch)
tree6355858d357481cf3b3065191dcc8ed671b6ce39 /builtin/submodule--helper.c
parentSome fixes for 2.9.3 (diff)
downloadtgif-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 'builtin/submodule--helper.c')
0 files changed, 0 insertions, 0 deletions