aports/testing/dstask/skip-git-commit-info.patch
2026-03-28 23:33:13 +01:00

16 lines
420 B
Diff

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