Re: [PATCH 5/6] builtin/grep.c: show column numbers via --column-number
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 21, 2018, 04:14 UTC
- Message-ID
- <xmqq4lk5b3ht.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <xmqq8t9hb3sm.fsf@gitster-ct.c.googlers.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 13 quoted lines
> Taylor Blau <me@ttaylorr.com> writes: > >> This commit teaches 'git-grep(1)' a new option, '--column-number'. This >> ... >> +`columnnumber`;; >> + column number prefix (when using `-m`) > > Is there other people's tool (preferrably some variant of "grep") > that has an option to tell it to show the column number of the hit? > What is the option called there? Does that tool let the option > squat on short-and-sweet '-m'? > > Thanks.
I still do not know if we have a good existing model system to take the longer optoin name from, but at least, GNU grep seems to use -m to mean a completely different thing, so I'd think that we would not assign '-m' to this new feature.