@matheusbsbs / matheus-bagliano / commits / c08e52486a
Fork 0

format-patch: use cwd as default output directory

Signed-off-by: Junio C Hamano <junkio@cox.net>

Matthias Lederhofer committed Sep 22, 2006 at 13:12 UTC c08e52486a7b5e38741c8264979a11f0103ec8c4
1 file changed +2
builtin-log.c
+2
@@ -270,6 +270,8 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
270
271 rev.extra_headers = extra_headers;
272
273 + output_directory = prefix;
274 +
275 /*
276 * Parse the arguments before setup_revisions(), or something
277 * like "git fmt-patch -o a123 HEAD^.." may fail; a123 is