From: Nguyen Thai Ngoc Duy Date: Thu, 28 Sep 2006 10:25:00 GMT Subject: Re: [PATCH] format-patch: use cwd as default output directory Message-ID: In-Reply-To: <20060922111201.GA10124@moooo.ath.cx> This patch works great. I assume you forgot it? On 9/22/06, Matthias Lederhofer wrote: > --- > Nguyen Thai Ngoc Duy 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