[PATCH 1/7] .git directory should be ignored

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add .git to the list of extensions to be ignored

Signed-off-by: Xavier Maillard <zedek@xxxxxxx>
---
 contrib/emacs/vc-git.el |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/contrib/emacs/vc-git.el b/contrib/emacs/vc-git.el
index a2d3932..3d43ca0 100644
--- a/contrib/emacs/vc-git.el
+++ b/contrib/emacs/vc-git.el
@@ -149,4 +149,7 @@
 ;;    (and (looking-at "[0-9a-f]+")
 ;;         (buffer-substring (match-beginning 0) (match-end 0)))))
 
+;;;###autoload
+(add-to-list 'completion-ignored-extensions ".git/")
+
 (provide 'vc-git)
-- 
1.5.0
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]