Merge branch 'jc/string-list-cleanup'
Code clean-up. * jc/string-list-cleanup: builtin/remote.c: use the right kind of STRING_LIST_INIT
This commit is contained in:
commit
30c6495e1e
@ -1229,10 +1229,9 @@ static int get_one_entry(struct remote *remote, void *priv)
|
||||
|
||||
static int show_all(void)
|
||||
{
|
||||
struct string_list list = STRING_LIST_INIT_NODUP;
|
||||
struct string_list list = STRING_LIST_INIT_DUP;
|
||||
int result;
|
||||
|
||||
list.strdup_strings = 1;
|
||||
result = for_each_remote(get_one_entry, &list);
|
||||
|
||||
if (!result) {
|
||||
|
Loading…
Reference in New Issue
Block a user