Delete (keep local) results in commit error
By gordon.mcke... on July 05, 2010 08:06 (imported from Google Code)
What steps will reproduce the problem?
- Create a new repository.
- In the repo folder, create a text file with a few random characters.
- Add and commit the file.
- Create another similar text file, add and commit it.
- Right-click the first file, choose "Delete (keep local)" from the TortoiseGit menu.
- Commit to master.
What is the expected output? What do you see instead?
Expect to see the deletions committed and the local files retained. Instead I see the error:
"Error: test.txt: cannot add to the index - missing --add option? fatal: Unable to process path test.txt"
What version of the product are you using? On what operating system?
Tortoise Git 1.5.2.0 64-bit (git 1.7.0.2.msysgit.0) on Windows 7 Enterprise x64.
Please provide any additional information below.
If I revert the delete and then remove the file using the TortoiseGit 'regular' delete option, I can commit OK (but, of course, the file is deleted from the filesystem, which I don't want).