diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-04-13 17:54:40 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-27 09:26:38 -0700 |
commit | b27004eb32139977f8fa5c01eb235535661f9201 (patch) | |
tree | f437e72d6f075e8ecb22cea47085b806da0a2e85 /column.h | |
parent | 323d0530918f015fa28572f4477723b607bce000 (diff) | |
download | git-b27004eb32139977f8fa5c01eb235535661f9201.tar.gz git-b27004eb32139977f8fa5c01eb235535661f9201.tar.xz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |