projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b40e7d
)
format-patch: use cwd as default output directory
author
Matthias Lederhofer
<matled@gmx.net>
Fri, 22 Sep 2006 11:12:01 +0000
(13:12 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 28 Sep 2006 16:13:16 +0000
(09:13 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c
patch
|
blob
|
history
diff --git
a/builtin-log.c
b/builtin-log.c
index fbc58bbcab1a992efb6ee359171d7ed6f0c52ab9..130b53a1960988aaf77014d39ee712a4848777b3 100644
(file)
--- 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