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 301
    • Issues 301
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 8
    • Merge requests 8
  • 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
  • #505

Closed
Open
Created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

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?

  1. Create a new repository.
  2. In the repo folder, create a text file with a few random characters.
  3. Add and commit the file.
  4. Create another similar text file, add and commit it.
  5. Right-click the first file, choose "Delete (keep local)" from the TortoiseGit menu.
  6. 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).

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
None
Due date
None