Skip to content

Instantly share code, notes, and snippets.

@kawas44
Forked from amalloy/.gitattributes
Last active March 1, 2022 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kawas44/24bd907d62ba93658c00a4a34c7e3848 to your computer and use it in GitHub Desktop.
Save kawas44/24bd907d62ba93658c00a4a34c7e3848 to your computer and use it in GitHub Desktop.
Clojure-aware git-diff hunk headers
;; save user defined attributes in default location:
;; ~/.config/git/attributes
*.clj diff=clojure
*.cljs diff=clojure
*.cljc diff=clojure
git config --global diff.clojure.xfuncname '^(\(.+)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment