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
  • #3967
Closed
Open
Issue created Oct 14, 2022 by meigelb@meigelbContributor

Trying to open log of submodule from dialog "Changed files" leads to error

What steps will reproduce the problem?

  1. In any repository, which consists of at least one submodule, open "Git Show log" from TortoiseGit's context menu.
  2. While holding Ctrl and clicking, select two commits between the submodule has been changed.
  3. From the context menu of your selection, choose "Compare revisions" to open dialog "Changed files".
  4. From the list showing the changed files, open the context menu of the submodule.
  5. The context menu shows two entries: "Show log" and "Show log of this folder".
  6. Choosing either of them, opens the dialog "Log messages" and a message box with error Could not open log. libgit reports: bad object <hash>.

show_log_of_folder_in_changed_files_dialog_does_not_find_hash_in_submodule As can been seen in the red boxes of the screen shot, it tries to open the hash of the superrepo which is not available in the submodule.

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

At step 6, I expect the dialog "Log messages" to show the log of the submodule, where the revision of the "To" commit is show at the top of the log messages. No error message is expected.

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

  • TortoiseGit 2.13.0.1
  • git version 2.35.1.windows.2
  • Windows 10 Build 19043.2006

Please provide any additional information below.

  • n/a
Edited Oct 15, 2022 by meigelb
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking