summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-01-15 14:20:09 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-15 15:34:01 +1100
commit1c84f7731920e1970d52f81361d321268054e559 (patch)
tree077e68eb695b29fdf911f48a83c654b8bfb72f35 /pkg/commands/git.go
parent8d8bdb948b089250c22f3ac4f549152a209dcdb2 (diff)
always specify upstream when pushing/pulling
Diffstat (limited to 'pkg/commands/git.go')
-rw-r--r--pkg/commands/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go
index d3ea3166c..7338cd0f1 100644
--- a/pkg/commands/git.go
+++ b/pkg/commands/git.go
@@ -136,7 +136,7 @@ func NewGitCommandAux(
Tag: tagCommands,
WorkingTree: workingTreeCommands,
Loaders: Loaders{
- Branches: loaders.NewBranchLoader(cmn, branchCommands.GetRawBranches, branchCommands.CurrentBranchName),
+ Branches: loaders.NewBranchLoader(cmn, branchCommands.GetRawBranches, branchCommands.CurrentBranchName, configCommands),
CommitFiles: loaders.NewCommitFileLoader(cmn, cmd),
Commits: loaders.NewCommitLoader(cmn, cmd, dotGitDir, branchCommands.CurrentBranchName, statusCommands.RebaseMode),
Files: fileLoader,