Re: [PATCH] grep: add option to show whole function as context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 31.07.2011 19:34, schrieb Sverre Rabbelier:
> On Sun, Jul 31, 2011 at 17:59, René Scharfe <rene.scharfe@xxxxxxxxxxxxxx> wrote:
>> Add a new option, -S, to show the whole surrounding function of a match.
> 
> Perhaps a different option name so as not to conflict with the -S from
> 'git log'? It would be nice to have this available in 'git log -p'.

Do you mean a diff option to show whole affected functions as context
instead of the fixed number of context lines -U gives you?  That sounds
useful as well.

How about -W?  It's not used by GNU grep either.

René
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]