diff options
| author | Mark Pulford <mark@kyne.com.au> | 2021-10-16 17:53:31 +1100 |
|---|---|---|
| committer | Bryan C. Mills <bcmills@google.com> | 2021-10-26 17:10:45 +0000 |
| commit | 76cef81bcff371c88d277f17c712ecf22b8c83e7 (patch) | |
| tree | afeba25fc96173a37d0b29bad7d608c4e7777366 /src/runtime/panic.go | |
| parent | 1b2362bb83de47188e7c60a69f46950de542f017 (diff) | |
| download | go-76cef81bcff371c88d277f17c712ecf22b8c83e7.tar.xz | |
cmd/go: stamp VCS commit time into binaries
Only Git and Mercurial are supported for now.
This CL also:
- Skips tagging "revision" and "committime" for empty repositories.
- Stores the full Mercurial changeset ID instead of the short form.
Fixes #37475
Change-Id: I62ab7a986d1ddb2a0e7166a6404b5aa80c2ee387
Reviewed-on: https://go-review.googlesource.com/c/go/+/356251
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/runtime/panic.go')
0 files changed, 0 insertions, 0 deletions
