From: Sebastian Schuberth <sschuberth@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: git@vger.kernel.org, nkreitzinger@gmail.com, laksvij@gmail.com
Subject: Re: How to find a commit that introduces (not removes) a string?
Date: Fri, 04 Nov 2011 11:59:20 +0100 [thread overview]
Message-ID: <4EB3C588.501@gmail.com> (raw)
In-Reply-To: <j8to8h$vqd$1@dough.gmane.org>
On 03.11.2011 10:50, Sebastian Schuberth wrote:
> I know about git log's -S / -G, but I'm unable to make these search through *introduced* strings only. Is there a way to do so?
Thanks for your suggestions. However, I ended up simply doing
$ git diff --no-color FROM..TO | grep ^+[^+] | grep WORD
which works well for my case.
--
Sebastian Schuberth
prev parent reply other threads:[~2011-11-04 11:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 9:50 How to find a commit that introduces (not removes) a string? Sebastian Schuberth
2011-11-03 15:56 ` Neal Kreitzinger
2011-11-03 16:13 ` Vijay Lakshminarayanan
2011-11-04 10:59 ` Sebastian Schuberth [this message]
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=4EB3C588.501@gmail.com \
--to=sschuberth@gmail.com \
--cc=git@vger.kernel.org \
--cc=laksvij@gmail.com \
--cc=nkreitzinger@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).