aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2022-11-29 15:00:46 +0100
committerGitHub <noreply@github.com>2022-11-29 15:00:46 +0100
commit04152528507402693a136444b94a7f4bfb0d0dde (patch)
treeead250e554a1df9d21d165ebbea7dcc28114d914
parent05dc7993e52e7258c455bd8e2a87f0a9f1592d36 (diff)
prog/meta.go (#3570)
Use "unknown" revision as a default.
-rw-r--r--prog/meta.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/prog/meta.go b/prog/meta.go
index 1a5bf08f2..61e0c7edb 100644
--- a/prog/meta.go
+++ b/prog/meta.go
@@ -9,10 +9,10 @@ import (
)
var (
- GitRevision string // emitted by Makefile, may contain + at the end
- GitRevisionBase string // without +
- gitRevisionDate string // emitted by Makefile
- GitRevisionDate time.Time // parsed from gitRevisionDate
+ GitRevision = "unknown" // emitted by Makefile, may contain + at the end
+ GitRevisionBase string // without +
+ gitRevisionDate string // emitted by Makefile
+ GitRevisionDate time.Time // parsed from gitRevisionDate
)
func init() {