summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-25 21:35:17 -0500
committerJeff Carr <[email protected]>2025-03-25 21:35:17 -0500
commit672e567aa124d43dbd0c28267584db940df8b435 (patch)
tree8d8d70298aa2ca6abfc803f91b457a7698d103bf /main.go
parent6a88e3bdeff620908a9e29bbdd6f739ffde616e7 (diff)
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 25818a4..894ca63 100644
--- a/main.go
+++ b/main.go
@@ -38,7 +38,9 @@ func main() {
showtags(repo)
// v0.0.8
- printCommitsForTag(repo, "v0.22.2")
+ if argv.Tag != "" {
+ printCommitsForTag(repo, argv.Tag)
+ }
}
// lists the files in the git repo