Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 381
    • Issues 381
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #505
Closed
Open
Issue 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
Time tracking