Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3906
Closed
Open
Issue created Apr 06, 2022 by Manuel Schmitt@MHSchmitt

Pull dialog always defaults to the wrong branch in submodules

What steps will reproduce the problem?

  1. Use a main repository and several submodules linked within. Maybe you need several branches each.
  2. Change your Branches to a "personal" or release branch (other than master)
  3. Open the pull-dialog

What is the expected output? What do you see instead?
Expected: The field "Remote Branch" shows the remote upstream-branch of the current local branch. Click "Ok" will pull the personal/release branch.
Instead: The field "Remote Branch" shows the remote master-branch. The master-branch will be pulled into the personal/release branch!

pull_master

Depending on the submodule, also a "." instead of "master" appears to be the default remote-branch. At least, you can not actually pull that branch, as it does not exist.

pull_dot

What version of TortoiseGit and Git are you using? On what operating system?
With Version 1.12.0 everything works great. With prerlease-version 1.12.3 and verison 1.13.0 the issue appears.
We are using Windows 10 and git version 2.24.0.windows.2.
Pure Git Bash works as expected.

Please provide any additional information below.
This happens on every developer-machine we are using. We've also checked upstream-branch and GIT-config several times. Right now we've downgraded to version 1.12.0.

Edited Jul 15, 2022 by Yue Lin Ho
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking