Elijah Newren <newren@xxxxxxxxx> writes: >> As long as worktree-only mode does not lose track of a >> previously-untracked path in the index (perhaps use the i-t-a bit), >> I do not have a strong objection against making the worktree-only >> mode the default. > > Could you unpack that for me a bit? Suppose in an ancient version v1.0 there was a file called README.txt but these days such a file does not exist (there may be README.md added though). By default, the command does not stuff the contents to the index out of the tree and instead operate only on the working tree. $ git restore-path --source v1.0 README.txt At this point, you are assuming that README.txt will become untracked and the user needs to manually add it. I was asking if it makes sense to at least make the index "aware of" it with I-T-A bit, and I am leaning towards answering "yes" to that question.