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 382
    • Issues 382
    • 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
  • #3834
Closed
Open
Issue created Dec 20, 2021 by Kurt Prünner@KernelLeak

Log window hangs on pasting wrong SHA-1 into commit log list when "working tree changes" are selected

What steps will reproduce the problem?

  1. Copy the SHA-1 for a commit to the clipboard, but with an extra space at the end (copying from a browser will easily do that)
  2. Focus on the commit log list in the log for a repository, and make sure you select the first line for "Working tree"
  3. Hit Ctrl + V to paste the SHA-1 to jump to it

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

Expected: Log jumps to the respective commit, or does nothing/beeps/shows a message if the SHA-1 can't be found.

Actual: TortoiseGitProc hangs indefinitely with one CPU core pegged to 100%, and needs to be killed.

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

TortoiseGit 2.12.0.0 (C:\Devel\TortoiseGit\bin)
git version 2.34.1.windows.1 (C:\Devel\Git\bin; C:\Devel\Git\mingw64; C:\Devel\Git\etc\gitconfig)
Microsoft Windows [Version 10.0.18363.1854] x64

Please provide any additional information below.

Actually pasting any SHA-1 that can't be found when starting from the "Working copy" first line of the log will hang it.

Edited Dec 29, 2021 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