From: Utkarsh Gupta Date: Wed, 13 Sep 2023 16:16:43 +0800 Subject: Disable commit hash and date Forwarded: not-needed Last-Update: 2020-02-12 Disabling commit hash and compiled date as they are not needed in the Debian package. These are shown when you invoke `micro --version`. --- cmd/micro/micro.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/cmd/micro/micro.go +++ b/cmd/micro/micro.go @@ -101,8 +101,8 @@ if *flagVersion { // If -version was passed fmt.Println("Version:", util.Version) - fmt.Println("Commit hash:", util.CommitHash) - fmt.Println("Compiled on", util.CompileDate) + //fmt.Println("Commit hash:", util.CommitHash) + //fmt.Println("Compiled on", util.CompileDate) exit(0) }