mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
format-patch: use cwd as default output directory
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
7b40e7d1ab
commit
c08e52486a
|
@ -270,6 +270,8 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
|
||||||
|
|
||||||
rev.extra_headers = extra_headers;
|
rev.extra_headers = extra_headers;
|
||||||
|
|
||||||
|
output_directory = prefix;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parse the arguments before setup_revisions(), or something
|
* Parse the arguments before setup_revisions(), or something
|
||||||
* like "git fmt-patch -o a123 HEAD^.." may fail; a123 is
|
* like "git fmt-patch -o a123 HEAD^.." may fail; a123 is
|
||||||
|
|
Loading…
Reference in a new issue