We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac53a5 commit b3cd517Copy full SHA for b3cd517
git-attr.el
@@ -59,6 +59,7 @@
59
(setq attr-list (cdddr attr-list)))
60
result))))
61
62
+;;;###autoload
63
(defun git-attr ()
64
"Get git attributes for current buffer file and set in buffer local variable `git-attr'."
65
(interactive)
@@ -74,6 +75,7 @@ This is the raw value as returned from `git check-attr -a' (if specified).
74
75
You probably want to use `git-attr-get' instead."
76
(cdr (assoc attr (git-attr))))
77
78
79
(defun git-attr-get (attr)
80
"Get the git attribute named ATTR for the file in current buffer.
81
0 commit comments