Skip to content

Commit

Permalink
format-patch: use cwd as default output directory
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Matthias Lederhofer authored and Junio C Hamano committed Sep 28, 2006
1 parent 7b40e7d commit c08e524
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builtin-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c08e524

Please sign in to comment.