aports/testing/dstask/skip-git-commit-info.patch
Michał Polański 2a150733a8 testing/dstask: upgrade to 0.27
This release adds fish shell completions.
2025-07-30 07:52:12 +02:00

16 lines
420 B
Diff

Skip git commit info in the "version" command.
--- a/commands.go
+++ b/commands.go
@@ -643,9 +643,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,
)
}