Skip to content

Comment on Show HN: Git Searcher, search commits for an added or removed string

Comments

How is this different from searching with "git log -G" or "git log -S"?

https://git-scm.com/docs/git-log#Documentation/git-log.txt--...

In making this, I found a bug in `git log -S` where it wasn't finding every instance of the search string. Perhaps a better way to further this project is to make a pull request into git to fix this, but I wasn't able to find the root cause of the bug

Also, git log shows where the string was both added and removed. If you only want to find either added or removed, this tool is better

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.