What's wrong with resetting with both --mixed and paths? #1876
-
The Lines 97 to 105 in e880c33 The issue URL is broken and seems it may not be archived. Is more known about this issue, and is there anything that can be replaced with? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Under the assumption that the project was moved from Maybe one can try |
Beta Was this translation helpful? Give feedback.
-
Although I can't be certain there isn't further relevant information in the lost issue, I think I've figured this out. It's much more straightforward than I'd feared and indeed trying it out as you suggested in #1876 (comment) led directly to the answer. Running
The suggestion of what to do instead was added in git/git@a4941a8, but the behavior of issuing a deprecation message is older than that. It looks like it came in at git/git@0e5a7fa when As for why one shouldn't write I'll open a small PR to clarify the comment. |
Beta Was this translation helpful? Give feedback.
Although I can't be certain there isn't further relevant information in the lost issue, I think I've figured this out. It's much more straightforward than I'd feared and indeed trying it out as you suggested in #1876 (comment) led directly to the answer.
Running
git reset --mixed -- path
always shows a warning. For example:The suggestion of what to do instead was added in git/git@a4941a8, but the behavio…