diff options
author | Alexandre Julliard <julliard@winehq.org> | 2008-02-22 16:48:53 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-27 13:17:58 -0800 |
commit | 21a2d69b2a14f1b42b18cfd18ff0477bb97eb11f (patch) | |
tree | 259b6641a02ff87eaba58bbb2c84ac260bbd7a36 /contrib | |
parent | Merge branch 'jm/free' (diff) | |
download | tgif-21a2d69b2a14f1b42b18cfd18ff0477bb97eb11f.tar.xz |
git.el: Do not display empty directories.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Tested-by: Karl Hasselström <kha@treskal.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/emacs/git.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/emacs/git.el b/contrib/emacs/git.el index f69b697f8d..cc21e9c682 100644 --- a/contrib/emacs/git.el +++ b/contrib/emacs/git.el @@ -728,7 +728,7 @@ Return the list of files that haven't been handled." (defun git-run-ls-files-with-excludes (status files default-state &rest options) "Run git-ls-files on FILES with appropriate --exclude-from options." (let ((exclude-files (git-get-exclude-files))) - (apply #'git-run-ls-files status files default-state "--directory" + (apply #'git-run-ls-files status files default-state "--directory" "--no-empty-directory" (concat "--exclude-per-directory=" git-per-dir-ignore-file) (append options (mapcar (lambda (f) (concat "--exclude-from=" f)) exclude-files))))) |