mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-18 06:24:01 +03:00
Print which git version we are using for running integration tests
I usually use something like PATH=~/git-versions/2.22.0/bin:$PATH ./scripts/run_integration_tests.sh for running integration tests with an older version. This has the problem that when you specify a version that you don't have locally, it will silently use the current version. Guard against that by printing the version it is using.
This commit is contained in:
parent
82e1caa166
commit
bf2d175865
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Running integration tests with $(git --version)"
|
||||
|
||||
# This is ugly, but older versions of git don't support the GIT_CONFIG_GLOBAL
|
||||
# env var; the only way to run tests for these old versions is to copy our test
|
||||
# config file to the actual global location. Move an existing file out of the
|
||||
|
Loading…
x
Reference in New Issue
Block a user