Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-04-13 14:54:40 +0400
committerJunio C Hamano <gitster@pobox.com>2012-04-27 20:26:38 +0400
commitb27004eb32139977f8fa5c01eb235535661f9201 (patch)
treef437e72d6f075e8ecb22cea47085b806da0a2e85 /column.h
parent323d0530918f015fa28572f4477723b607bce000 (diff)
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