Re: [PATCH 3/6] grep.[ch]: teach columnnum, color_columnno to grep_opt

2018-04-21 Thread Martin Ă…gren
On 21 April 2018 at 05:45, Taylor Blau wrote: > diff --git a/grep.c b/grep.c > index 29bc799ecf..7872a5d868 100644 > --- a/grep.c > +++ b/grep.c > @@ -95,6 +95,10 @@ int grep_config(const char *var, const char *value, void > *cb) > opt->linenum =

[PATCH 3/6] grep.[ch]: teach columnnum, color_columnno to grep_opt

2018-04-20 Thread Taylor Blau
In preparation of adding --column-number to 'git-grep(1)', we extend grep_opt to take in the requisite new members. We additionally teach the 'grep.columnnumber' and 'color.grep.columnumber' configuration variables to configure showing and coloring the column number, respectively. (These options