"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?
- open commit window with at least one modified file
- 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 18.104.22.168 (C:\Program Files\TortoiseGit\bin)
(previous version 22.214.171.124 was affected too)
-git version 1.9.5.msysgit.0 (C:\Program Files (x86)\Git\bin)
-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)
-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)