Skip to content

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Dec 31, 2022

Use command -v to locate the git executable instead of which. The former is guaranteed to always be available according to POSIX, while which(1) is a redundant third-party tool that is slowly being phased out from Linux distributions. In particular, Gentoo no longer installs it by default.

Use `command -v` to locate the git executable instead of `which`.
The former is guaranteed to always be available according to POSIX,
while which(1) is a redundant third-party tool that is slowly being
phased out from Linux distributions.  In particular, Gentoo no longer
installs it by default.
@Byron Byron added this to the v3.1.31 - Bugfixes milestone Dec 31, 2022
@Byron
Copy link
Member

Byron commented Dec 31, 2022

Thanks a lot! Much appreciated.

@Byron Byron merged commit fbc36f9 into gitpython-developers:main Dec 31, 2022
@mgorny
Copy link
Contributor Author

mgorny commented Dec 31, 2022

Thanks!

@mgorny mgorny deleted the command-v branch December 31, 2022 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants