Browse Source

format-patch: use cwd as default output directory

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Matthias Lederhofer 19 years ago committed by Junio C Hamano
parent
commit
c08e52486a
  1. 2
      builtin-log.c

2
builtin-log.c

@ -270,6 +270,8 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix) @@ -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

Loading…
Cancel
Save