diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-31 08:07:51 +0100 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-12-31 09:26:44 +0100 |
commit | fbc36f9cefa3a7e150187dabf8758a53062c5b47 (patch) | |
tree | 1476ec8a6cdfa5e531db066ff2e7fea88cad925e /git/objects/commit.py | |
parent | 44636240a08bba4a13355a5a23543d537ff15576 (diff) | |
download | gitpython-fbc36f9cefa3a7e150187dabf8758a53062c5b47.tar.gz |
tests: Use `command -v` instead of third-party `which` program
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.
Diffstat (limited to 'git/objects/commit.py')
0 files changed, 0 insertions, 0 deletions