1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Disable commit hash and date
Disabling commit hash and compiled date as they are not needed in the
Debian package. These are shown when you invoke `micro --version`.
Author: Jongmin Kim
Forwarded: not-needed
Last-Update: 2020-02-12
--- a/cmd/micro/micro.go
+++ b/cmd/micro/micro.go
@@ -90,8 +90,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)
os.Exit(0)
}
|