submodule: change string_list changed_submodule_paths
commita6bb78c3b19697133a01122c13993986b66ef28b
authorBrandon Williams <bmwill@google.com>
Fri, 28 Apr 2017 23:54:00 +0000 (28 16:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 May 2017 03:19:15 +0000 (1 12:19 +0900)
tree8a99437773fbf4c8096e6dff771cbc58613dfc6c
parentd1a8460caac1a19457e352a6b610b7bc89cd56d9
submodule: change string_list changed_submodule_paths

Eliminate a call to 'xstrdup()' by changing the string_list
'changed_submodule_paths' to duplicated strings added to it.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c