aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2021-07-19 18:02:00 +0200
committerJonas Bernoulli <jonas@bernoul.li>2021-07-20 15:48:30 +0200
commitcbe1c09488a7bd0b5f5c3e42113c628ce0902cd6 (patch)
tree6fe1d8b629ab57121e439fbdf4ee7415b7feea37 /Documentation
parent1423c54d2e9f615ab1d65b218bccfc36be3a3f3b (diff)
magit-git-executable: Default to absolute path on macOS
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/magit.org12
1 files changed, 3 insertions, 9 deletions
diff --git a/Documentation/magit.org b/Documentation/magit.org
index 1513a7c..712761b 100644
--- a/Documentation/magit.org
+++ b/Documentation/magit.org
@@ -1912,7 +1912,9 @@ to an absolute path when Magit is loaded.
On Windows it is necessary to use an absolute path because Git comes
with several wrapper scripts for the actual ~git~ binary, which are also
placed on ~$PATH~, and using one of these wrappers instead of the binary
-would degrade performance horribly. On other platforms, using just the
+would degrade performance horribly. For some macOS users using just
+the name of the executable also performs horribly, so we avoid doing
+that on that platform as well. On other platforms, using just the
name seems to work just fine.
Using an absolute path when running ~git~ on a remote machine over
@@ -7669,14 +7671,6 @@ faster ~vfork~ will be used. (The creation of child processes still
takes about twice as long on Darwin compared to Linux.) See [fn:mac1]
for more information.
-On Catalina, and potentially other macOS releases, there may be a
-performance problem where any action takes 20 times longer on Darwin
-than on Linux. This can be worked around by setting
-~magit-git-executable~ to the absolute path of the ~git~ executable,
-instead of relying on resolving the ~$PATH~. You should not do that if
-you want to use Magit on remote machines using Tramp and if ~git~ is not
-installed in the same location on those machines.
-
[fn:mac1] https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-04/msg00201.html
*** Default Bindings