Documentation/git-submodule: cleanup "add" section
[gitweb.git] / fast-import.c
index e69d219682e7929b6e8441ba620e708704471ff3..9a22fc92c0d029cf2a1362ea846f75f59978e870 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)