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
  • #2316
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Error on comparing files when git config core.autocrlf ends with 2+ spaces and then a comment

By danny0... on October 04, 2014 13:37 (imported from Google Code)


What steps will reproduce the problem?

  1. View the git log with TGit and compare any plaintext or other file (Compare with base, Compare with working tree, etc)
  2. I always get an error and fail.

What is the expected output? What do you see instead?
The version compare should work normally. However I always get a 'Failed to checkout file' error. See the attached image.

What version of TortoiseGit and msysgit are you using? On
what operating system?
TortoiseGit 1.8.11.0 / 1.9.4.msysgit.2 / Windows 7 SP1

Please provide any additional information below.
The compare DID work normally and I've been using it for a long time using the above software versions. One day I did some operation on a large git repo with msysgit, and edited several git configs (via global .gitconfig) related with [path] and [core], and after that the problem started to occur on all repos.

I tried reset the configs, restarting the PC, uninstall-and-reinstall msysgit and tortoisegit, and the problem still persists.

I need to know what could be related with the error message, and if it's a bug or something I just did wrong.


error.jpg

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