News for hackers. Stuff that matters.
Re:Burying your dead code by thehoagie on Thursday September 07, 2017 @02:05PM (#15194276)
Git bisect also has a test command where you can automate grepping for usage. You can use something like wc to determine whether you matched one or more than one result. This automates the bisect and let's you take a nice break from the computer while it does it's magic.
Re:Burying your dead code by bradmwalker on Thursday September 07, 2017 @02:10PM (#15194332)
Git log -p -S <function name>
Re:Burying your dead code by chris_wot on Thursday September 07, 2017 @03:17PM (#15194888)
If you use a regex then try:

  git log -p -G regex