summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-10-24 10:11:18 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-24 10:19:06 +0900
commit965ff23a4395fb9c09133a48244b1cd2f70e88e9 (patch)
tree93b6209abc3f233aa50c98d46e9e69087dd1206f
parentcolumn: show auto columns when pager is active (diff)
downloadtgif-965ff23a4395fb9c09133a48244b1cd2f70e88e9.tar.xz
column: do not include pager.c
Everything this file needs from the pager API (e.g. term_columns(), pager_in_use()) is already declared in the header file it includes. Noticed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--column.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/column.c b/column.c
index ded50337f7..49ab85b769 100644
--- a/column.c
+++ b/column.c
@@ -5,7 +5,6 @@
#include "parse-options.h"
#include "run-command.h"
#include "utf8.h"
-#include "pager.c"
#define XY2LINEAR(d, x, y) (COL_LAYOUT((d)->colopts) == COL_COLUMN ? \
(x) * (d)->rows + (y) : \