Open AndreyRavkov opened 1 year ago
Similar to #10423, could be set as a duplicate. git-checkout-index cannot be used for files with certain statuses. Before 4.0 the Git error was just hidden, the popup is added in 4.0. Just ignore it for now.
@mstv was #10556 targeting this as well?
@AndreyRavkov can you please try one of the latest 4.0 build and see if your issue is fixed? E.g., this one https://ci.appveyor.com/project/gitextensions/gitextensions/builds/45820457/artifacts.
@mstv was #10556 targeting this as well?
No This is in FormCommit
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 14 days. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 14 days. It will be closed if no further activity occurs.
Stage/unstage to reset for now. Upcoming 4.1 handles reset in some more situations but not conflicts when files are removed or added.
To handle this some internal datastructures need to be changed (so worktree and index status know each other). This is not planned, the focus is to get 4.1 released right now.
@gerhardol do you have any plans for this?
do you have any plans for this?
Not right now.
The likely most common situations of a generic "reset" are handled. The direct use of the Reset form (Reset current branch to here) should follow Git and not be too smart. There are some other generic reset cases that could be handled, but they could lead to more situations like #11216 so the behavior is not obvious. The output at Git errors are improved in next version. Let us implement what is seen as problems, or present the scenario to the users somehow.
do you have any plans for this?
Not right now.
I'm punting it out of v4.2 then.
Environment
Issue description
Exit code: 1 Command: C:\Program Files\Git\bin\git.exe Arguments: checkout-index --index --force -- "backend/src/Services/Quote/Validation/Rules/Common/Inactive/ListPriceExceededInRenewalRule.cs" "backend/tests/Services.Tests/Quote/Validation/Rules/Common/ListPriceExceededInRenewalRuleTests.cs" Working directory: D:_projects\mf\
git cherry-pick merge wih remove file revert changes
Steps to reproduce
git cherry-pick choose to merge with removed file revert changes
Did this work in previous version of GitExtensions?
No response
Diagnostics
No response