From: Eric Sunshine Date: Tue, 26 May 2020 13:40:29 GMT Subject: Re: [PATCH] grep: add configuration variables for --heading Message-ID: In-Reply-To: <4WK2xPaKLXPbLE0jjY0rBR9M_BVt69rzJKBN17M0ily4VPYuMNC_a2kXsIKWR8y6lc7j58WpBmaIqdbJ1whnjonrfEWz7YE-WpdQqCu_lN0=@emersion.fr> On Tue, May 26, 2020 at 4:37 AM Simon Ser wrote: > There are already configuration variables for -n and --column. Add one > for --heading, allowing users to customize the default behaviour. > > Signed-off-by: Simon Ser > --- > Documentation/git-grep.txt | 3 +++ > grep.c | 5 +++++ > 2 files changed, 8 insertions(+) To round this out, adding a test -- probably in t7810-grep.sh -- would be a good idea.