FG
💻 Software

How can disable emacs' vc integration on mounted volumes?

Fresh7 days ago
Mar 15, 20262260 views
Confidence Score0%
0%

Problem

I'm running Emacs on OSX (Emacs24) and on occasion I have to edit files on a mounted sshfs volume. However, Emacs' vc integration -- git, specifically -- is REALLY slow over sshfs mounts. I'd like to selectively disable vc-mode, either in configuration or using .dir-locals.el. How can I do that?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can disable emacs' vc integration on mounted volumes?

Low Risk

As pmr mentioned, you can remove git from the list of backends. The default list of backends is There are different ways to set variables in emacs. Just editing your file and adding the following two lines should do the trick (notice Git is removed …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment