projects/aports·blob master · refs

15 lines · 420 B

1Skip git commit info in the "version" command.
2
3--- a/commands.go
4+++ b/commands.go
5@@ -705,9 +705,8 @@ func CommandUndo(conf Config, args []string, ctx, query Query) error {
6 // CommandVersion prints version information for the dstask binary.
7 func CommandVersion() {
8 fmt.Printf(
9- "Version: %s\nGit commit: %s\nBuild date: %s\n",
10+ "Version: %s\nBuild date: %s\n",
11 VERSION,
12- GIT_COMMIT,
13 BUILD_DATE,
14 )
15 }