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

"Failed to checkout file" error when trying to compare with base from commit window

By chvoge... on April 16, 2015 09:31 (imported from Google Code)


Summary: "Failed to checkout file" error when trying to compare with base from commit window

What steps will reproduce the problem?

  1. open commit window with at least one modified file
  2. doubleclick on modified file or use return key to compare with base

What is the expected output? What do you see instead?
Expected: TortoiseMerge opens and shows differences
Actual: the following error appears:
"Failed to checkout file <gitfile> of revision <revision> to <tempfile>.
libgit2 returned: Could not create file."
(actual paths replaced with placeholders)

What version of TortoiseGit and msysgit are you using? On
what operating system?
-TortoiseGit 1.8.14.0 (C:\Program Files\TortoiseGit\bin)
(previous version 1.8.13.0 was affected too)
-git version 1.9.5.msysgit.0 (C:\Program Files (x86)\Git\bin)

Case 1:
-Windows 7 Ultimate 64bit
-Primary harddrive (containing the temp dir) is an SSD
-Secondary harddrive (containing the repo) is a regular harddrive
-Intel Core i5-2500K (quadcore)

Case 2:
-Windows 7 Professional 64bit
-Primary harddrive (containing the temp dir and repo) is an SSD
-Intel Core i7-4600U (quadcore)

Please provide any additional information below.
-The error appears irregularly, on average about half the times the "compare with base" action is initiated
-The error can appear several times in a row for the same file when initiating "compare with base" over and over again, until it finally succeeds
-When Process Monitor (v3.05) is open and capturing events, the error happens a lot less frequently (maybe 1 in 50 cases?) but can still happen


![150416 Error TortoiseGit.png](https://storage.googleapis.com/google-code-attachments/tortoisegit/issue-2491/comment-0/150416 Error TortoiseGit.png)

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