]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/remote.c
Merge branch 'jc/string-list-cleanup' into maint
[thirdparty/git.git] / builtin / remote.c
index d4b69fe77898977d4b4dead8059c667ee17110cd..a3a0c27d7a09da9f5df1f258d3c21fe426690ea0 100644 (file)
@@ -1222,10 +1222,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) {