mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-17 00:18:05 +02:00
remove redundant logging
This commit is contained in:
@ -13,7 +13,7 @@ func (c *GitCommand) GetBranchesFromDir(dirPath string) ([]*Branch, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
// it's possible that go-git is referencing a remote we don't have locally
|
// it's possible that go-git is referencing a remote we don't have locally
|
||||||
// in which case we'll just swallow this error
|
// in which case we'll just swallow this error
|
||||||
c.Log.Error(err)
|
c.Log.Warn(err)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,7 +50,6 @@ func (c *GitCommand) GetRemotes() ([]*Remote, error) {
|
|||||||
remotes := make([]*Remote, len(goGitRemotes))
|
remotes := make([]*Remote, len(goGitRemotes))
|
||||||
for i, goGitRemote := range goGitRemotes {
|
for i, goGitRemote := range goGitRemotes {
|
||||||
name := goGitRemote.Config().Name
|
name := goGitRemote.Config().Name
|
||||||
c.Log.Warn(name)
|
|
||||||
|
|
||||||
// can't seem to easily get the branches of the remotes from go-git so we'll
|
// can't seem to easily get the branches of the remotes from go-git so we'll
|
||||||
// traverse the directory recursively
|
// traverse the directory recursively
|
||||||
|
Reference in New Issue
Block a user