From a61e2caac0d715fd3f2037cd20442d493e493715 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 15 Oct 2025 10:40:34 -0500 Subject: add whatchanged for finger memory --- main.go | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'main.go') 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 -- cgit v1.2.3