Skip to contentSkip to conversation

test-lib: Remove 3 year old no-op --no-python option

PATCH In review Ævar Arnfjörð Bjarmason 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test-lib: Remove 3 year old no-op --no-python option

The --no-python option was added to test-lib.sh by Johannes Schindelin in early 2006 in abb7c7b3. It was later turned into a no-op by Junio C Hamano in 7cdbff14 the same year.

Over three years is long enough before removing this old wart which was retained for backwards compatibility. Our tests have been using NO_PYTHON and "test_have_prereq PYTHON" for a long time now.

---
 t/test-lib.sh |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
t/test-lib.sh +0 -3
index e5523dd..e151da6 100644
@@ -132,9 +132,6 @@ do
 		with_dashes=t; shift ;;
 	--no-color)
 		color=; shift ;;
-	--no-python)
-		# noop now...
-		shift ;;
 	--va|--val|--valg|--valgr|--valgri|--valgrin|--valgrind)
 		valgrind=t; verbose=t; shift ;;
 	--tee)
Signature · 1 line
1.7.1
#1 lore raw
Quoted 3 lines · Ævar Arnfjörð Bjarmason

The --no-python option was added to test-lib.sh by Johannes Schindelin in early 2006 in abb7c7b3. It was later turned into a no-op by Junio C Hamano in 7cdbff14 the same year.

Sorry for the resend. git-send-email was hanging and I thought the original didn't go through:

    Subject: [PATCH] test-lib: Remove 3 year old no-op --no-python option
    Date: Sat, 31 Jul 2010 16:49:18 +0000
    Message-Id: <[email protected]>
    X-Mailer: git-send-email 1.7.1
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit

    Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
    Password:
    ^C

    stty: standard input: Input/output error

But evidently that went through, here's the output from the second one:

    Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
    Password:
    OK. Log says:
    Server: smtp.gmail.com
    MAIL FROM:<[email protected]>
    RCPT TO:<[email protected]>
    RCPT TO:<[email protected]>
    RCPT TO:<[email protected]>
    From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?=

<[email protected]>
To: [email protected]
Cc: Junio C Hamano <[email protected]>,
=?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?=
<[email protected]>

    Subject: [PATCH] test-lib: Remove 3 year old no-op --no-python option
    Date: Sat, 31 Jul 2010 16:49:53 +0000
    Message-Id: <[email protected]>
    X-Mailer: git-send-email 1.7.1
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit

    Result: 250 2.0.0 OK 1280595002 j1sm1835091wej.39

Perhaps git-send-email should indicate that it has aquired a connection to the server?