-
-
Save fmnoise/d16251fed642d2770d49abdb829bf1d3 to your computer and use it in GitHub Desktop.
Clojure-aware git-diff hunk headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.clj diff=clojure | |
*.cljs diff=clojure | |
*.cljx diff=clojure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global core.attributesfile ~/.gitattributes | |
git config --global diff.clojure.xfuncname '(^\(.*|\s*\(defn.*)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment