builtin/fetch cleanup: always set default value for submodule recursing
[gitweb.git] / fast-import.c
index 05c73858b00b21a3ce2887c0573abc5d186e796a..fc2b22033b0f5748adbc173b6099fa7347bb9088 100644 (file)
@@ -3285,9 +3285,7 @@ static void option_export_pack_edges(const char *edges)
 {
        if (pack_edges)
                fclose(pack_edges);
-       pack_edges = fopen(edges, "a");
-       if (!pack_edges)
-               die_errno("Cannot open '%s'", edges);
+       pack_edges = xfopen(edges, "a");
 }
 
 static int parse_one_option(const char *option)