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