mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
WIP
This commit is contained in:
parent
157dd309f7
commit
b4c078d565
48 changed files with 437 additions and 493 deletions
|
@ -10,9 +10,7 @@ import (
|
|||
)
|
||||
|
||||
func (c *GitCommand) GetRemotes() ([]*models.Remote, error) {
|
||||
// get remote branches
|
||||
unescaped := "git branch -r"
|
||||
remoteBranchesStr, err := c.OSCommand.RunCommandWithOutput(unescaped)
|
||||
remoteBranchesStr, err := c.RunWithOutput(c.NewCmdObj("git branch -r"))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue