Git Searcher, search commits for an added or removed string
Hello all,I created a command line utility called Git Searcher that can find in which commit any line of code was added; it can also find where a line of code was removed. I have found this very helpful for determining where code originated from and for debugging. I hope you find this useful!Many thanks, Sam
Users discussed the differences between the tool and 'git log -G' or 'git log -S'. Some mentioned that GitLens in VSCode already provides this feature. Another user noted the use of 'jj log -pr ..' and pager for search. There was a clarification that the tool's independent operations for fetch and search are a feature, not a bug. One user suggested integrating the 'git search' command into git.
Users criticized the lack of a clear explanation of the differences, the need to run 'git fetch' every time, and the preference for a standalone script. One user had no criticisms.