On Friday, October 10, 2014 2:18:36 AM UTC-7, Marat Shakurov wrote:
> I doing:
> git log -p
> and see that optput contains string '*somestring1*'
> I doing:
> git log -p --grep=somestring1
> git log -p --grep=somestring1 -i
> git log -p --grep=somestring1 -i F
Are you searching for 'sometstring1' in the commit message, or in the
commit diff? Note that git log -p shows the patch, but git log
--grep=PATTERN searches the commit message only. You can use `git log -G`
or `git log -S` to search the change content itself.
Look for differences that introduce or remove an instance of <string>. Note
that this is different than the string simply appearing in diff output; see
the *pickaxe* entry in gitdiffcore(7)
Look for differences whose added or removed line matches the given <regex>.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.