summaryrefslogtreecommitdiff
path: root/message.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-31 13:24:48 -0600
committerJeff Carr <[email protected]>2024-12-31 13:24:48 -0600
commit7f8cdac6fad06a548997f9bb1fbdc6507836efb0 (patch)
treec73c4379d043e5b0786ba2ce65b7261a2b2901a5 /message.go
parent2c6dc806efb2443daa82948482b1b1e313936716 (diff)
stub in a show git refs() function
Diffstat (limited to 'message.go')
-rw-r--r--message.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/message.go b/message.go
index 35a2e22..7c5954a 100644
--- a/message.go
+++ b/message.go
@@ -12,6 +12,18 @@ var VERSION string
var BUILDTIME string
func main() {
+ if argv.Refs {
+ showRefs()
+ } else {
+ testMessage()
+ }
+}
+
+func showRefs() {
+ log.Info("how do you do this with libgit2 and git2go? notsure.")
+}
+
+func testMessage() {
var input git.Trailer
input.Key = "Co-authored-by"