summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-15 10:40:34 -0500
committerJeff Carr <[email protected]>2025-10-15 10:40:34 -0500
commita61e2caac0d715fd3f2037cd20442d493e493715 (patch)
treeae3120d3f2a96053bfe7d3022f154eb00629e493 /main.go
parentc7ea7e0a0be0164c5d6b2fa33bb0fc050e1c20c3 (diff)
add whatchanged for finger memory
Diffstat (limited to 'main.go')
-rw-r--r--main.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/main.go b/main.go
index 9f88b9b..d9d16fe 100644
--- a/main.go
+++ b/main.go
@@ -9,6 +9,7 @@ import (
"embed"
"go.wit.com/lib/gui/prep"
+ "go.wit.com/lib/gui/shell"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/log"
)
@@ -121,6 +122,16 @@ func main() {
if argv.Patch != nil {
s, err = doPatch()
}
+
+ if argv.Whatchanged != nil {
+ // this might be deprecated by the git devs
+ // I put it here because of finger memory and it's nice
+ // for command line completion
+ r := shell.RunRealtime([]string{"bash", "-c", "git log"})
+ s = "git whatchanged is now: todo"
+ err = r.Error
+ }
+
if argv.BuildForge {
// attempts to download all the sources
// and binaries needed to build forge