Merge branch 'maint'
[gitweb.git] / builtin / fast-export.c
index 9fe25ff0b3dc0ae89c668b146b46a4ccbd457361..834ec8b464d0ce5845a2312766554b60ed5d5d7e 100644 (file)
@@ -566,7 +566,7 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix)
 {
        struct rev_info revs;
        struct object_array commits = { 0, 0, NULL };
-       struct string_list extra_refs = { NULL, 0, 0, 0 };
+       struct string_list extra_refs = STRING_LIST_INIT_NODUP;
        struct commit *commit;
        char *export_filename = NULL, *import_filename = NULL;
        struct option options[] = {