We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c030786 commit 7182768Copy full SHA for 7182768
1 file changed
git-attr.el
@@ -47,7 +47,8 @@
47
(let ((file buffer-file-name)
48
(git (executable-find "git")))
49
(when (and file
50
- git)
+ git
51
+ (file-exists-p file))
52
(let ((attr-list (split-string (with-output-to-string
53
(with-current-buffer standard-output
54
(call-process git nil (list t nil) nil "check-attr" "-z" "-a" file)
0 commit comments