Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
TortoiseGit
TortoiseGit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 303
    • Issues 303
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #2491

Closed
Open
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
None
Milestone
None
Assign milestone
Time tracking