summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-12-12 21:49:52 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-12 21:49:52 -0800
commit33935dca6db41f3d84f28abb66f94c1f2cc1974b (patch)
tree9fd1c26d37960ad336bfbebf5b339b624168439c /builtin
parentMerge branch 'ef/win32-dirent' (diff)
parentformat-patch: page output with --stdout (diff)
downloadtgif-33935dca6db41f3d84f28abb66f94c1f2cc1974b.tar.xz
Merge branch 'tc/format-patch-p'
* tc/format-patch-p: format-patch: page output with --stdout
Diffstat (limited to 'builtin')
-rw-r--r--builtin/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/log.c b/builtin/log.c
index 4191d9c4e5..d8c6c28d2f 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -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)