diff options
author | Stefan Beller <sbeller@google.com> | 2018-11-28 16:27:52 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-12-05 11:42:31 +0900 |
commit | bcd7337243f4f20091d478c71682d68dd2100207 (patch) | |
tree | 543ca9ce59ff9dd31b440cbb9ceb696b0fcdaee6 /builtin | |
parent | submodule.c: tighten scope of changed_submodule_names struct (diff) | |
download | tgif-bcd7337243f4f20091d478c71682d68dd2100207.tar.xz |
submodule: store OIDs in changed_submodule_names
'calculate_changed_submodule_paths' uses a local list to compute the
changed submodules, and then produces the result by copying appropriate
items into the result list.
Instead use the result list directly and prune items afterwards
using string_list_remove_empty_items.
By doing so we'll have access to the util pointer for longer that
contains the commits that we need to fetch, which will be
useful in a later patch.
Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions