Watching https://www.youtube.com/watch?v=aolI_Rz0ZqY and `git log -L :mymethod:my/file.rb` is blowing my mind 🤯
Shows a log of only the changes in my/file.rb related to mymethod.
Watching https://www.youtube.com/watch?v=aolI_Rz0ZqY and `git log -L :mymethod:my/file.rb` is blowing my mind 🤯
Shows a log of only the changes in my/file.rb related to mymethod.
@henrik I have a couple of those in my .gitconfig but it's mostly to make them show up in chunk headers in diffs.
[diff "elisp"]
xfuncname="^\\((((def\\S+)|use-package)\\s+\\S+)"
[diff "org"]
xfuncname="^\\*+ +(.*)$"