fast-import: always create marks_file directories
CC: "Shawn O. Pearce" <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
df61c88979
commit
580d5f83e7
@ -2707,6 +2707,7 @@ static void option_import_marks(const char *marks, int from_stream)
|
||||
}
|
||||
|
||||
import_marks_file = make_fast_import_path(marks);
|
||||
safe_create_leading_directories_const(import_marks_file);
|
||||
import_marks_file_from_stream = from_stream;
|
||||
}
|
||||
|
||||
@ -2737,6 +2738,7 @@ static void option_active_branches(const char *branches)
|
||||
static void option_export_marks(const char *marks)
|
||||
{
|
||||
export_marks_file = make_fast_import_path(marks);
|
||||
safe_create_leading_directories_const(export_marks_file);
|
||||
}
|
||||
|
||||
static void option_export_pack_edges(const char *edges)
|
||||
|
Loading…
Reference in New Issue
Block a user