Skip to content

fix: when removedFiles is empty when MergeResetting, skip worktreereset #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

UnseenBook
Copy link

When the removedFiles returned by resetIndex is empty, skip running the worktreereset, because no file has to be checkedout.

But when HardResetting do run the worktreeReset with the files list in the ResetOptions, because then also untracked and ignored files need to be checkedOut.

When the removedFiles returned by resetIndex is empty, skip running the
worktreereset, because no file has to be checkedout.

But when HardResetting do run the worktreeReset with the files list in
the ResetOptions, because then also untracked and ignored files need to
be checkedOut.
@k-anshul k-anshul merged commit 2823a26 into rilldata:reset_fix May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants