List for cgit developers and users
 help / color / mirror / Atom feed
From: list at (Christian Hesse)
Subject: [PATCH v2 1/1] tests: allow to skip git version tests
Date: Mon, 13 Jan 2020 21:04:46 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

From: Christian Hesse <mail at>

This allows to run tests non-tagged git checkout or when bisecting.

Signed-off-by: Christian Hesse <mail at>
 tests/ | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/ b/tests/
index 3200f31..73bd32f 100755
--- a/tests/
+++ b/tests/
@@ -1,5 +1,9 @@
+if [ "${CGIT_TEST_NO_GIT_VERSION}" = "YesPlease" ]; then
+	exit 0
 test_description='Check Git version is correct'
 . ./

  reply	other threads:[~2020-01-13 20:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-13  9:38 [PATCH 1/1] " list
2020-01-13 19:52 ` Jason
2020-01-13 20:04   ` list [this message]
2020-01-13 20:13     ` [PATCH v2 1/1] tests: " Jason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).