From: Matthias Lederhofer Date: Fri, 22 Sep 2006 11:12:01 +0000 (+0200) Subject: format-patch: use cwd as default output directory X-Git-Tag: v1.4.3-rc1~16 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=v1.4.2.1-gc08e524;p=git.git format-patch: use cwd as default output directory Signed-off-by: Junio C Hamano --- diff --git a/builtin-log.c b/builtin-log.c index fbc58bbca..130b53a19 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -270,6 +270,8 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix) rev.extra_headers = extra_headers; + output_directory = prefix; + /* * Parse the arguments before setup_revisions(), or something * like "git fmt-patch -o a123 HEAD^.." may fail; a123 is