We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf9e8e commit 8c9ef54Copy full SHA for 8c9ef54
cmd/gitfs/version.go
@@ -31,6 +31,9 @@ func getVersionString() string {
31
lastCommit, _ = time.Parse(time.RFC3339, kv.Value)
32
}
33
34
+ if revision == "" {
35
+ return fmt.Sprintf("gitfs: version %s", info.Main.Version)
36
+ }
37
return fmt.Sprintf(
38
"gitfs: version %s, build %s",
39
revision,
0 commit comments