summaryrefslogtreecommitdiff
path: root/git-gui/lib/diff.tcl
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2023-11-09 09:05:46 +0100
committerJunio C Hamano <gitster@pobox.com>2023-11-09 18:56:10 +0900
commitdd02c3b68c67f8e9a5daca3b52a562318738fa47 (patch)
tree3e8e73b77fefef4a11abdd2fe2589ee9bd18b82a /git-gui/lib/diff.tcl
parent9f17bef9a6ead213ea62d399baa4c67e1e89398b (diff)
ci: squelch warnings when testing with unusable Git repo
Our CI jobs that run on Docker also use mostly the same architecture to build and test Git via the "ci/run-build-and-tests.sh" script. These scripts also provide some functionality to massage the Git repository we're supposedly operating in. In our Docker-based infrastructure we may not even have a Git repository available though, which leads to warnings when those functions execute. Make the helpers exit gracefully in case either there is no Git in our PATH, or when not running in a Git repository. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions