summaryrefslogtreecommitdiff
path: root/column.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-04-13 17:54:40 +0700
committerJunio C Hamano <gitster@pobox.com>2012-04-27 09:26:38 -0700
commitb27004eb32139977f8fa5c01eb235535661f9201 (patch)
treef437e72d6f075e8ecb22cea47085b806da0a2e85 /column.h
parent323d0530918f015fa28572f4477723b607bce000 (diff)
downloadgit-b27004eb32139977f8fa5c01eb235535661f9201.tar.gz
column: support piping stdout to external git-column process
For too complicated output handling, it'd be easier to just spawn git-column and redirect stdout to it. This patch provides helpers to do that. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'column.h')
-rw-r--r--column.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/column.h b/column.h
index 4f178d84a8..0a61917fa7 100644
--- a/column.h
+++ b/column.h
@@ -39,4 +39,7 @@ static inline int column_active(unsigned int colopts)
extern void print_columns(const struct string_list *list, unsigned int colopts,
const struct column_options *opts);
+extern int run_column_filter(int colopts, const struct column_options *);
+extern int stop_column_filter(void);
+
#endif