summaryrefslogtreecommitdiff
path: root/tramp-conf.el
diff options
context:
space:
mode:
Diffstat (limited to 'tramp-conf.el')
-rw-r--r--tramp-conf.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/tramp-conf.el b/tramp-conf.el
index 8614be3..183361b 100644
--- a/tramp-conf.el
+++ b/tramp-conf.el
@@ -51,5 +51,12 @@
(setq tramp-allow-unsafe-temporary-files t)
+;;; Disable version control on remote hosts
+
+(setq
+ vc-ignore-dir-regexp
+ (format "\\(%s\\)\\|\\(%s\\)"
+ vc-ignore-dir-regexp tramp-file-name-regexp))
+
(provide 'tramp-conf)
;;; tramp-conf.el ends here