From b27004eb32139977f8fa5c01eb235535661f9201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Th=C3=A1i=20Ng=E1=BB=8Dc=20Duy?= Date: Fri, 13 Apr 2012 17:54:40 +0700 Subject: column: support piping stdout to external git-column process MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Junio C Hamano --- column.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'column.h') 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 -- cgit v1.2.3