This patch works great. I assume you forgot it? On 9/22/06, Matthias Lederhofer <matled@xxxxxxx> wrote:
--- Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> wrote: > git format-patch in subdir generates files in topdir instead of > current dir as documented in its man page Here is a patch for this. --- builtin-log.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/builtin-log.c b/builtin-log.c index fbc58bb..130b53a 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -270,6 +270,8 @@ int cmd_format_patch(int argc, const cha 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 -- 1.4.2.1.ge767
-- Duy - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html