Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
fast-import: always create marks_file directories
author
Sverre Rabbelier
<srabbelier@gmail.com>
Mon, 29 Mar 2010 16:48:25 +0000
(11:48 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 31 Mar 2010 16:37:26 +0000
(09:37 -0700)
CC: "Shawn O. Pearce" <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fast-import.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
df61c88
)
diff --git
a/fast-import.c
b/fast-import.c
index 309f2c58a2ba431a82a56f757482a5093cc8257d..129a786832c2dc863e33ae2fc039a0212c1751d5 100644
(file)
--- a/
fast-import.c
+++ b/
fast-import.c
@@
-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)