X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-log.c;h=1766349550f5b4204e77f6f6eeca486cee322ca1;hb=9c8398f0c9d1fc92df5c1a7a52c810294d8ac3f8;hp=33fa6ea6c855df904cfcf30f0b413cb8bca61fa9;hpb=ba2c7476882ea56fcad298ef195b538ed7a7ad32;p=git.git diff --git a/builtin-log.c b/builtin-log.c index 33fa6ea6c..176634955 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -976,7 +976,8 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix) */ argc = parse_options(argc, argv, prefix, builtin_format_patch_options, builtin_format_patch_usage, - PARSE_OPT_KEEP_ARGV0 | PARSE_OPT_KEEP_UNKNOWN); + PARSE_OPT_KEEP_ARGV0 | PARSE_OPT_KEEP_UNKNOWN | + PARSE_OPT_KEEP_DASHDASH); if (do_signoff) { const char *committer;