aboutsummaryrefslogtreecommitdiff
path: root/pack-objects.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2016-08-05 23:01:35 +0200
committerJunio C Hamano <gitster@pobox.com>2016-08-05 15:11:06 -0700
commit02a8cfa478bcc5da72be549a2fbcae2f37bac1cd (patch)
tree6355858d357481cf3b3065191dcc8ed671b6ce39 /pack-objects.c
parent08df31eeccfe1576971ea4ba42570a424c3cfc41 (diff)
downloadgit-02a8cfa478bcc5da72be549a2fbcae2f37bac1cd.tar.gz
git-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 'pack-objects.c')
0 files changed, 0 insertions, 0 deletions