aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2022-11-09 22:17:20 -0500
committerKyle Meyer <kyle@kyleam.com>2022-11-13 17:21:17 -0500
commit05b0d99d714350d51676b86da9f5daa2f6b7fa3e (patch)
treeb75ae37e3149baec983e3996f6f29e97fc196940 /docs
parent36059e0b881cb1465cb5ad0099e55e00845a8222 (diff)
Consider Git's exec path when searching for extensions
Commands that depend on optional third-party Git extensions use executable-find to check whether the extension is available. That misses the legitimate case where an extension is installed in Git's exec path rather than a directory in $PATH. Update these spots to call a new helper that looks in Git's exec path before calling executable-find. Note that the order is chosen to follow Git's precedence (though that doesn't matter for any of the current callers because they don't use the return value). Closes #4812.
Diffstat (limited to 'docs')
-rw-r--r--docs/RelNotes/3.4.0.org4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/RelNotes/3.4.0.org b/docs/RelNotes/3.4.0.org
index 42ea3fa..9169af1 100644
--- a/docs/RelNotes/3.4.0.org
+++ b/docs/RelNotes/3.4.0.org
@@ -174,6 +174,10 @@ b1ad283941 #4526 magit-version: more compatible fix for #4511
- A diff header added in a new Git release wasn't handled yet. #4531
+- Commands that use optional third-party Git extensions didn't
+ consider that extension executables may be installed in Git's exec
+ path instead of a directory in ~exec-path~. #4812
+
- Fixed calculation of gravatar image size. ecfaa325a3
a14f847d97 magit-branch-checkout: Refresh after all configuration took place