Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2019-02-15 16:29:36 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2019-02-15 16:29:36 +0300
commitb54e23b620062531ff6d31fecf1bc927f86cf1b9 (patch)
treebae6559ea4fab35d88ea1de134e72ca0020780bb /internal
parentb9c89add404cc106906f9e9ce5cec58224ae40bc (diff)
Remove build time from version flag
Prior to this change, the build time was displayed when the -version flag was passed. This made it possible that the output was unstable for the same version. The .com upgrade script depended on them being equal. This change simply removes it. Related: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/3598
Diffstat (limited to 'internal')
-rw-r--r--internal/version/gitaly_version.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/version/gitaly_version.go b/internal/version/gitaly_version.go
index 318e97eb6..821a7eee9 100644
--- a/internal/version/gitaly_version.go
+++ b/internal/version/gitaly_version.go
@@ -9,7 +9,7 @@ var buildtime string
// GetVersionString returns a standard version header
func GetVersionString() string {
- return fmt.Sprintf("Gitaly, version %v, built %v", version, buildtime)
+ return fmt.Sprintf("Gitaly, version %v", version)
}
// GetVersion returns the semver compatible version number