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
  • #3342
Closed
Open
Issue created Mar 07, 2019 by Lars Rosenboom@ViscomLR

Windows Explorer context menu: TortoiseGit doesn't recognize local Git working copy if "gitdir-redirection" is used within same folder

What steps will reproduce the problem?

  1. Use a non-standard git folder, say "_git\" instead of ".git\" (you may rename an existing ".git\").
  2. Create a text file ".git" with "gitdir: _git" to direct git to the non-standard git folder.
  3. Open the Explorer context menu to commit changes.
  4. Context menu contains "Git Clone", "Git Create ..." etc.

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

The context menu should contain "Git Sync ...", "Git Commit ..." etc.

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

The bug occured with TortoiseGit 2.8.0, Git 2.21.0.windows.1, under Windows 10 Pro 1809 (17763.316, German localization).

Please provide any additional information below.

TortoiseGit 2.7.0 and earlier work as expected.

I actually have no return/newline after "gitdir: _git".

Edited Mar 08, 2019 by Sven Strickroth
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking