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
  • #3033
Closed
Open
Issue created Jul 25, 2017 by Dima Ruinskiy@dimar

Cannot view submodule log if repository sits under directory symlink

What steps will reproduce the problem?

  1. Navigate to a repository that has a submodule via a symbolic directory link
  2. Right click on the submodule folder inside the repository main directory
  3. Select "Git Show Log" from the context menu (or submenu)

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

Expected: Submodule log opens. Actual: Error message appears: 'libgit 2 returned - invalid symlink (). Function not implemented.'

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

This issue appeared in TortoiseGit 2.5.0. It is a regression from 2.4.0.2, where this issue does not appear. The regression may be internal to libgit, which was updated in TortoiesGit 2.5.0.

Please provide any additional information below.

The issuw only affects the submodule, not the main repository. It is possible to view the log of the repository, even if it sits under a directory symlink.

When trying to commit to the submodule, a similar error message appears, but with the text "failed to get parent of commit <commit_hash_goes_here>: invalid symlink (symlink path). Function not implemented." However, the commit window stays open, and it is still possible to proceed with the commit.

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