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
  • #2877
Closed
Open
Issue created Nov 29, 2016 by Gavin Lambert@uecasm

Git fetch all with rebase after produces error

What steps will reproduce the problem?

  1. TortoiseGit -> Fetch
  2. Remote: origin (note that the branch combo is disabled so it will fetch all branches)
  3. Tick "Launch Rebase After Fetch".
  4. Press OK.

What is the expected output? What do you see instead?

Expected: it fetches all branches, then the rebase window is loaded for the current branch vs. its upstream remote. (eg. master vs. remotes/origin/master)

Actual: it fetches all branches, then the rebase window appears but shows this error:

libgit2 returned: Failed to parse revision specifier - Invalid pattern 'remotes/origin/'

Selecting the upstream branch manually after this works around the issue.

What version of TortoiseGit and Git are you using? On what operating system?

  • TortoiseGit 2.3.4.0 (20161121-ddb9cc6f
  • git version 2.9.3.windows.2
  • Windows 8.1 x64

Please provide any additional information below.

Git Sync -> Fetch & Rebase behaves as expected, but fetches only a single branch, so the above is still needed sometimes, particularly when about to merge a branch pushed by someone else.

(On an unrelated note: the rebase window also gets a bit confused if a branch's upstream is set to a local branch rather than a remote one. Which you can't do with the TGit GUI but can on the command line.)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking