We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c030786 + 7182768 commit 7f687bfCopy full SHA for 7f687bf
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