summaryrefslogtreecommitdiff
path: root/pager.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 07:41:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-04-11 15:52:10 (GMT)
commitca4eed708d8cb5c7b585578d3b4170e8adaa920f (patch)
tree24fac43fb586fe4d78947662cc834aa578e171ae /pager.c
parent0e8d4b9db76b6f8712e3be5b7dabe7fd1092921b (diff)
downloadgit-ca4eed708d8cb5c7b585578d3b4170e8adaa920f.zip
git-ca4eed708d8cb5c7b585578d3b4170e8adaa920f.tar.gz
git-ca4eed708d8cb5c7b585578d3b4170e8adaa920f.tar.bz2
pager.h: move declarations for pager.c functions from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Acked-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pager.c')
-rw-r--r--pager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pager.c b/pager.c
index 6367e8e..be78c70 100644
--- a/pager.c
+++ b/pager.c
@@ -1,10 +1,13 @@
#include "cache.h"
#include "config.h"
#include "editor.h"
+#include "pager.h"
#include "run-command.h"
#include "sigchain.h"
#include "alias.h"
+int pager_use_color = 1;
+
#ifndef DEFAULT_PAGER
#define DEFAULT_PAGER "less"
#endif