Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 366
    • Issues 366
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • 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
  • #1985
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

TortoiseGitBlame does not follow renames when comparing line with previous version

By nao... on November 12, 2013 23:18 (imported from Google Code)


What steps will reproduce the problem?

  1. Move a bunch of files through 'git mv', commit.
  2. Blame any of those files. The log at the bottom shows the full history.
  3. Right-click any SHA1 on the left, click 'Blame previous revision'

What is the expected output?

A new TortoiseGitBlame window with the requested changeset.

What do you see instead?

"Blame error
fatal: no such path (my file name) in (my old commit ID)"
It does that for any files that were moved with git mv, including files in a folder where only the case ('Sources') was modified ('sources'). Root files (which were not moved) work just fine. Clicking the bottom part of the window to access an older commit also works, but it doesn't keep the current position in the file, and it's not very practical.

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

TortoiseGitBlame 1.8.6, git version 1.8.4.msysgit.0, Windows 7 64-bit French.

Please provide any additional information below.

http://wedge.org/pub/8299/git-problems-for-non-gits/ (just a longer version of this issue.)

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