mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Address PR comments
This commit is contained in:
parent
1ce9a87544
commit
db02c13bf6
7 changed files with 74 additions and 67 deletions
|
@ -638,8 +638,7 @@ func (self *RefreshHelper) refreshStatus() {
|
|||
}
|
||||
|
||||
name := presentation.GetBranchTextStyle(currentBranch.Name).Sprint(currentBranch.Name)
|
||||
var repoName string
|
||||
repoName = utils.GetCurrentRepoName()
|
||||
repoName := utils.GetCurrentRepoName()
|
||||
mainWorktreeName := self.worktreeHelper.GetMainWorktreeName()
|
||||
if repoName != mainWorktreeName {
|
||||
repoName = fmt.Sprintf("%s(%s)", mainWorktreeName, style.FgBlue.Sprint(repoName))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue