summaryrefslogtreecommitdiff
path: root/subCommand.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-28 04:32:00 -0500
committerJeff Carr <[email protected]>2025-10-28 04:32:00 -0500
commitb339658a81d79a4cfb00797d196d3aace08d2513 (patch)
tree04144d3a880afca9de171b1919940f8cf01fb820 /subCommand.go
parent1fe9716603d5aebc42e63228d9ade30e34ef085a (diff)
send more logic into go-args
Diffstat (limited to 'subCommand.go')
-rw-r--r--subCommand.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/subCommand.go b/subCommand.go
index ce17401..0a051d2 100644
--- a/subCommand.go
+++ b/subCommand.go
@@ -74,12 +74,10 @@ func doSubcommand() (string, error) {
}
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"})
+ // might be deprecated by the git devs // switch to git log then
+ // shell.Exec([]string{"bash", "-c", "-i", "git log"})
+ shell.Exec([]string{"bash", "-c", "-i", "git whatchanged"})
s = "git whatchanged is now: todo"
- err = r.Error
}
if argv.Rebuild != nil {