diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-09 15:44:28 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-09 15:44:28 +1000 |
commit | a068548bcbe0cdac8ff46208f499a6e0b2458dd0 (patch) | |
tree | d983eeb08743b672324b0a0e6c453d0972db4d81 | |
parent | b2f8b8b3457177fb5e01c57d92c4c3674c754e99 (diff) |
remove speed monitoring
-rw-r--r-- | main.go | 3 | ||||
-rw-r--r-- | status_panel.go | 2 |
2 files changed, 0 insertions, 5 deletions
@@ -10,7 +10,6 @@ import ( "os/exec" "os/user" "path/filepath" - "time" "github.com/fatih/color" "github.com/jesseduffield/gocui" @@ -21,7 +20,6 @@ import ( var ( ErrSubprocess = errors.New("running subprocess") subprocess *exec.Cmd - startTime time.Time commit string version = "unversioned" @@ -107,7 +105,6 @@ func setupWorktree() { } func main() { - startTime = time.Now() devLog("\n\n\n\n\n\n\n\n\n\n") flag.Parse() if version == "unversioned" { diff --git a/status_panel.go b/status_panel.go index 6e3ec35e8..393c62344 100644 --- a/status_panel.go +++ b/status_panel.go @@ -2,7 +2,6 @@ package main import ( "fmt" - "time" "github.com/fatih/color" "github.com/jesseduffield/gocui" @@ -35,7 +34,6 @@ func refreshStatus(g *gocui.Gui) error { // utilising the fact these all have padding to only grab the name // from the display string with the existing coloring applied fmt.Fprint(v, " "+branch.DisplayString[4:]) - colorLog(color.FgCyan, time.Now().Sub(startTime)) return nil }) |