doc/go1.18: document Fossil/Bazaar and commit time build tag support

Change-Id: I032791a3cda1916099b0fd2955dcca4e69763660
Reviewed-on: https://go-review.googlesource.com/c/go/+/357958
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
Mark Pulford 2021-10-22 18:41:41 +11:00 committed by Bryan C. Mills
parent 063ff7f7a0
commit 749f6e9eb6
1 changed files with 7 additions and 6 deletions

View File

@ -67,12 +67,13 @@ Do not send CLs removing the interior tags from such phrases.
<p><!-- golang.org/issue/37475 --> <p><!-- golang.org/issue/37475 -->
The <code>go</code> command now embeds version control information in The <code>go</code> command now embeds version control information in
binaries including the currently checked-out revision and a flag indicating binaries including the currently checked-out revision, commit time, and a
whether edited or untracked files are present. Version control information flag indicating whether edited or untracked files are present. Version
is embedded if the <code>go</code> command is invoked in a directory within a control information is embedded if the <code>go</code> command is invoked in
Git or Mercurial repository, and the <code>main</code> package and its a directory within a Git, Mercurial, Fossil, or Bazaar repository, and the
containing main module are in the same repository. This information may be <code>main</code> package and its containing main module are in the same
omitted using the flag <code>-buildvcs=false</code>. repository. This information may be omitted using the flag
<code>-buildvcs=false</code>.
</p> </p>
<p><!-- golang.org/issue/37475 --> <p><!-- golang.org/issue/37475 -->