Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Use command -v instead of third-party which program #1525

Merged
merged 1 commit into from
Dec 31, 2022

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.

None yet

2 participants