commit: give final warning when reattaching HEAD to leave commits behind
[gitweb.git] / builtin / log.c
index 90e05aca9dc0f980f13b8beaf3865cb86c5669a8..d8c6c28d2fcc3bd0744f071da536215141dc0d0b 100644 (file)
@@ -1158,6 +1158,8 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
 
        if (!use_stdout)
                output_directory = set_outdir(prefix, output_directory);
+       else
+               setup_pager();
 
        if (output_directory) {
                if (use_stdout)
@@ -1364,7 +1366,7 @@ int cmd_cherry(int argc, const char **argv, const char *prefix)
 
        struct option options[] = {
                OPT__ABBREV(&abbrev),
-               OPT__VERBOSE(&verbose),
+               OPT__VERBOSE(&verbose, "be verbose"),
                OPT_END()
        };