diff options
| author | İbrahim Serdar Açıkgöz <serdaracikgoz86@gmail.com> | 2019-01-03 18:04:25 +0300 |
|---|---|---|
| committer | İbrahim Serdar Açıkgöz <serdaracikgoz86@gmail.com> | 2019-01-03 18:04:25 +0300 |
| commit | f2f2c1bb18b2f7236f5ede917b1eacdd422cbd5b (patch) | |
| tree | 69a14914ca83dc08bb02169e2988960e361525f0 /pkg/gui/util-textstyle.go | |
| parent | superfast job handling and failover for auth added (diff) | |
| download | gitbatch-f2f2c1bb18b2f7236f5ede917b1eacdd422cbd5b.tar.gz | |
error messages and semaphores added
Diffstat (limited to '')
| -rw-r--r-- | pkg/gui/util-textstyle.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/util-textstyle.go b/pkg/gui/util-textstyle.go index 1bb3635..c42857b 100644 --- a/pkg/gui/util-textstyle.go +++ b/pkg/gui/util-textstyle.go @@ -103,9 +103,9 @@ func (gui *Gui) repositoryLabel(e *git.RepoEntity) string { } else if e.State() == git.Success { return prefix + repoName + ws + green.Sprint(successSymbol) } else if e.State() == git.Paused { - return prefix + repoName + ws + yellow.Sprint("auth required (u)") + return prefix + repoName + ws + yellow.Sprint("authentication required (u)") } else if e.State() == git.Fail { - return prefix + repoName + ws + red.Sprint(failSymbol) + return prefix + repoName + ws + red.Sprint(failSymbol) + ws + red.Sprint(e.Message) } return prefix + repoName } |
