summaryrefslogtreecommitdiff
path: root/column.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-10-24 01:11:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-10-24 01:19:06 (GMT)
commit965ff23a4395fb9c09133a48244b1cd2f70e88e9 (patch)
tree93b6209abc3f233aa50c98d46e9e69087dd1206f /column.c
parentb2d3fd287b60aae963d683f89f24dc6cb97520f8 (diff)
downloadgit-965ff23a4395fb9c09133a48244b1cd2f70e88e9.zip
git-965ff23a4395fb9c09133a48244b1cd2f70e88e9.tar.gz
git-965ff23a4395fb9c09133a48244b1cd2f70e88e9.tar.bz2
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>
Diffstat (limited to 'column.c')
-rw-r--r--column.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/column.c b/column.c
index ded5033..49ab85b 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) : \