Code

Merge git://repo.or.cz/git-gui
[git.git] / builtin-log.c
index 33fa6ea6c855df904cfcf30f0b413cb8bca61fa9..1766349550f5b4204e77f6f6eeca486cee322ca1 100644 (file)
@@ -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;