mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +02:00
use git branch when merging branches
This commit is contained in:
@@ -205,7 +205,7 @@ func branchAlreadyStored(branchLine string, branches []Branch) bool {
|
|||||||
// directory i.e. things we've fetched but haven't necessarily checked out.
|
// directory i.e. things we've fetched but haven't necessarily checked out.
|
||||||
// Worth mentioning this has nothing to do with the 'git merge' operation
|
// Worth mentioning this has nothing to do with the 'git merge' operation
|
||||||
func getAndMergeFetchedBranches(branches []Branch) []Branch {
|
func getAndMergeFetchedBranches(branches []Branch) []Branch {
|
||||||
rawString, err := runDirectCommand(getHeadsCommand)
|
rawString, err := runDirectCommand("git branch")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return branches
|
return branches
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user