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 3d0a936 commit 21a2d69Copy full SHA for 21a2d69
contrib/emacs/git.el
@@ -728,7 +728,7 @@ Return the list of files that haven't been handled."
728
(defun git-run-ls-files-with-excludes (status files default-state &rest options)
729
"Run git-ls-files on FILES with appropriate --exclude-from options."
730
(let ((exclude-files (git-get-exclude-files)))
731
- (apply #'git-run-ls-files status files default-state "--directory"
+ (apply #'git-run-ls-files status files default-state "--directory" "--no-empty-directory"
732
(concat "--exclude-per-directory=" git-per-dir-ignore-file)
733
(append options (mapcar (lambda (f) (concat "--exclude-from=" f)) exclude-files)))))
734
0 commit comments