Skip to content

Commit

Permalink
fix git segment
Browse files Browse the repository at this point in the history
  • Loading branch information
justjanne committed Dec 12, 2019
1 parent 3e33de2 commit 67921fc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions segment-git.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ func segmentGit(p *powerline) {
if len(p.ignoreRepos) > 0 {
out, err := runGitCommand("git", "rev-parse", "--show-toplevel")
if err != nil {
panic(err)
return
}
out = strings.TrimSpace(out)
Expand All @@ -139,7 +138,6 @@ func segmentGit(p *powerline) {

out, err := runGitCommand("git", "status", "--porcelain", "-b", "--ignore-submodules")
if err != nil {
panic(err)
return
}

Expand Down

0 comments on commit 67921fc

Please sign in to comment.