Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
Qt Creator 4.14.0-rc1
-
Windows 10 2004 64 bit
git version 2.29.2.windows.2
Description
- Open a file from a git repository.
I used tests\manual\debugger\simple\simple_test_app.cpp from Creator's repository, 4.14 branch. - Edit the file and save the changes.
- Select "Tools" -> "Git" -> "Current File" -> "Undo Uncommitted Changes..." from the menu.
- Confirm with "Yes".
While this seems to work sometimes, if often fails. In the Version Control view you can then read something like:19:45:01 Running in C:\Users\rob\dev\src\creator-squish: "C:\Program Files\Git\cmd\git.exe" checkout HEAD -- tests/manual/debugger/simple/simple_test_app.cpp error: unable to unlink old 'tests/manual/debugger/simple/simple_test_app.cpp': Invalid argument The command "C:\Program Files\Git\cmd\git.exe" terminated with exit code 255.Cannot checkout "HEAD" of tests/manual/debugger/simple/simple_test_app.cpp in "C:/Users/rob/dev/src/creator-squish": error: unable to unlink old 'tests/manual/debugger/simple/simple_test_app.cpp': Invalid argument
Attachments
Issue Links
- resulted from
-
QTCREATORBUG-24911 [REG 4.13->4.14] Qt Creator locks header and source files
- Closed