aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/README
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2022-07-28 16:59:02 -0400
committerGopher Robot <gobot@golang.org>2022-10-24 21:18:32 +0000
commit4319231686c28d8542219991f0c9026139142b9c (patch)
tree88860290f10265c009c618c0c3691b93e98b7d1e /src/cmd/go/testdata/script/README
parenta971904e10c85e4aeb2cb6a3cf6d8efadc259fdc (diff)
downloadgo-4319231686c28d8542219991f0c9026139142b9c.tar.gz
go-4319231686c28d8542219991f0c9026139142b9c.zip
cmd/go: replace the '[exec:git]' condition with a '[git]' condition
This makes it more obvious that the condition is testing for something beyond just the existence of a 'git' executable. For #27494. Change-Id: I7608b6c84f9f373292687b3a2066b0ded7deb6e1 Reviewed-on: https://go-review.googlesource.com/c/go/+/421454 Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Russ Cox <rsc@golang.org> Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/go/testdata/script/README')
-rw-r--r--src/cmd/go/testdata/script/README2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/README b/src/cmd/go/testdata/script/README
index edbf645476..8724d052e3 100644
--- a/src/cmd/go/testdata/script/README
+++ b/src/cmd/go/testdata/script/README
@@ -410,6 +410,8 @@ The available conditions are:
runtime.Compiler == "gc"
[gccgo]
runtime.Compiler == "gccgo"
+[git]
+ the 'git' executable exists and provides the standard CLI
[hurd]
host GOOS=hurd
[illumos]