diff options
| author | Taras Madan <tarasmadan@google.com> | 2022-11-29 15:00:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-29 15:00:46 +0100 |
| commit | 04152528507402693a136444b94a7f4bfb0d0dde (patch) | |
| tree | ead250e554a1df9d21d165ebbea7dcc28114d914 /prog | |
| parent | 05dc7993e52e7258c455bd8e2a87f0a9f1592d36 (diff) | |
prog/meta.go (#3570)
Use "unknown" revision as a default.
Diffstat (limited to 'prog')
| -rw-r--r-- | prog/meta.go | 8 |
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() { |
