aboutsummaryrefslogtreecommitdiffstats
path: root/pager.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 00:41:59 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-11 08:52:10 -0700
commitca4eed708d8cb5c7b585578d3b4170e8adaa920f (patch)
tree24fac43fb586fe4d78947662cc834aa578e171ae /pager.c
parenttreewide: remove cache.h inclusion due to editor.h changes (diff)
downloadgit-ca4eed708d8cb5c7b585578d3b4170e8adaa920f.tar.gz
git-ca4eed708d8cb5c7b585578d3b4170e8adaa920f.zip
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 6367e8ef86..be78c70664 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