Re: [PATCH/RFC 2/4] grep: pass current line number down to match_one_pattern
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 2, 2011, 16:40 UTC
- Message-ID
- <7vbozloy29.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <BANLkTimr7A64OYB51kSWe7pkjYaiOZy-ZQ@mail.gmail.com>
Bert Wesarg <bert.wesarg@googlemail.com> writes:
> lno is already in use in this file, so I followed here the precept. > The position was chosen, because bol/eol is the line content to match, > so the line number should probably be near the content parameter.
The choice of "lno" is fine (and probably better than line_nr) as variable and enum names in the context of this file.
If we were to do this change, that is.