From: "René Scharfe" <rene.scharfe@lsrfire.ath.cx>
To: Sverre Rabbelier <srabbelier@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>,
Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH] grep: add option to show whole function as context
Date: Mon, 01 Aug 2011 17:37:36 +0200 [thread overview]
Message-ID: <4E36C840.9000808@lsrfire.ath.cx> (raw)
In-Reply-To: <CAGdFq_ikKu2E44tyadtKNS=GNRw_1qkfFN-UxEtz-Rsv__Z+jg@mail.gmail.com>
Am 31.07.2011 19:34, schrieb Sverre Rabbelier:
> On Sun, Jul 31, 2011 at 17:59, René Scharfe <rene.scharfe@lsrfire.ath.cx> 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é
next prev parent reply other threads:[~2011-08-01 15:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-31 15:59 [PATCH] grep: add option to show whole function as context René Scharfe
2011-07-31 17:34 ` Sverre Rabbelier
2011-08-01 15:37 ` René Scharfe [this message]
2011-08-01 15:39 ` Sverre Rabbelier
2011-08-01 17:20 ` René Scharfe
2011-08-01 17:20 ` [PATCH v2 1/2] " René Scharfe
2011-08-01 23:17 ` Junio C Hamano
2011-08-02 18:08 ` René Scharfe
2011-08-01 17:22 ` [PATCH v2 2/2] grep: long context options René Scharfe
2011-08-02 1:01 ` Tait
2011-08-02 17:24 ` René Scharfe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E36C840.9000808@lsrfire.ath.cx \
--to=rene.scharfe@lsrfire.ath.cx \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=srabbelier@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).