pickaxe
Links
- Git log now accepts
-G<regexp> also finds lines
which were moved which -S cannot do.
- Pickaxe search
log -S<string> is about counting
the number of appearance of <string> in the file
before and after the change and reporting when they
differ.
-G<regexp> looks at the actual patch text and
reports if a line that matches <regexp> appears as
either added or deleted, allowing detection of
simply moving a matching line in a file, which
"-S" was not designed to do.
- Git Tip of the Week: Searching for Commits and Changes
- git grep