Run grep across git diffs
I often need to see when methods are defined, removed, etc, so I made this:
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
I often need to see when methods are defined, removed, etc, so I made this:
Comments
Nice, focuses on one single purpose, but gets its job done, just as the good old Unix tools :)
Why don’t use git log -S ?
@astropanic isn’t that only for the log messages?
@oscardb ‘git log -S WORD’ this shows you which commit introduced / removed WORD
@astropanic I think you’re correct, I’ll have to try it. This may still be useful to see the actual diff though. But thanks, I was sure there was something.
@oscardb: To get the diff when running git log -S use git log -p -S.
Post a comment