1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-07 22:02:56 +03:00

remove speed monitoring

This commit is contained in:
Jesse Duffield
2018-08-09 15:44:28 +10:00
parent b2f8b8b345
commit a068548bcb
2 changed files with 0 additions and 5 deletions

View File

@@ -10,7 +10,6 @@ import (
"os/exec" "os/exec"
"os/user" "os/user"
"path/filepath" "path/filepath"
"time"
"github.com/fatih/color" "github.com/fatih/color"
"github.com/jesseduffield/gocui" "github.com/jesseduffield/gocui"
@@ -21,7 +20,6 @@ import (
var ( var (
ErrSubprocess = errors.New("running subprocess") ErrSubprocess = errors.New("running subprocess")
subprocess *exec.Cmd subprocess *exec.Cmd
startTime time.Time
commit string commit string
version = "unversioned" version = "unversioned"
@@ -107,7 +105,6 @@ func setupWorktree() {
} }
func main() { func main() {
startTime = time.Now()
devLog("\n\n\n\n\n\n\n\n\n\n") devLog("\n\n\n\n\n\n\n\n\n\n")
flag.Parse() flag.Parse()
if version == "unversioned" { if version == "unversioned" {

View File

@@ -2,7 +2,6 @@ package main
import ( import (
"fmt" "fmt"
"time"
"github.com/fatih/color" "github.com/fatih/color"
"github.com/jesseduffield/gocui" "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 // utilising the fact these all have padding to only grab the name
// from the display string with the existing coloring applied // from the display string with the existing coloring applied
fmt.Fprint(v, " "+branch.DisplayString[4:]) fmt.Fprint(v, " "+branch.DisplayString[4:])
colorLog(color.FgCyan, time.Now().Sub(startTime))
return nil return nil
}) })