diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-11-14 19:09:37 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 19:09:37 +1100 |
commit | de22238589701a8b0db7ffe9c851d252e6faf6cd (patch) | |
tree | 6f9f4a4cb755ae861f832ed1df6e967f8f18836f /pkg/commands/git.go | |
parent | e953659ebff20b621c4535384c585eb44c773a8a (diff) | |
parent | 52a2e4c1dc270c95366d05687de514caed95f695 (diff) |
Merge pull request #2224 from Ryooooooga/ambiguous-branch
Diffstat (limited to 'pkg/commands/git.go')
-rw-r--r-- | pkg/commands/git.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 2faa75c3d..ee223a6d0 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -119,9 +119,9 @@ func NewGitCommandAux( patchCommands := git_commands.NewPatchCommands(gitCommon, rebaseCommands, commitCommands, statusCommands, stashCommands, patchManager) bisectCommands := git_commands.NewBisectCommands(gitCommon) - branchLoader := git_commands.NewBranchLoader(cmn, branchCommands.GetRawBranches, branchCommands.CurrentBranchName, configCommands) + branchLoader := git_commands.NewBranchLoader(cmn, branchCommands.GetRawBranches, branchCommands.CurrentBranchInfo, configCommands) commitFileLoader := git_commands.NewCommitFileLoader(cmn, cmd) - commitLoader := git_commands.NewCommitLoader(cmn, cmd, dotGitDir, branchCommands.CurrentBranchName, statusCommands.RebaseMode) + commitLoader := git_commands.NewCommitLoader(cmn, cmd, dotGitDir, branchCommands.CurrentBranchInfo, statusCommands.RebaseMode) reflogCommitLoader := git_commands.NewReflogCommitLoader(cmn, cmd) remoteLoader := git_commands.NewRemoteLoader(cmn, cmd, repo.Remotes) stashLoader := git_commands.NewStashLoader(cmn, cmd) |