Skip to content
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

Fix overwrites from files in the original branch which causes changes in the current branch to be missed until the next commit #13

Merged
merged 3 commits into from
May 6, 2023

Conversation

jnm2
Copy link
Member

@jnm2 jnm2 commented May 6, 2023

I reviewed all IsOrContains calls and found one more place where the arguments were swapped. The second place is rather benign since it was only disabling a check, and the check would only be useful if it was catching an independent bug.

This is a good reason to consider refactoring to a form like target.IsSamePathOrParentPathOf(itemPath).

@jnm2 jnm2 force-pushed the fix_overwrites_from_other_branches branch from 2924a8e to 7d966b1 Compare May 6, 2023 23:51
@jnm2 jnm2 enabled auto-merge May 6, 2023 23:52
@jnm2 jnm2 merged commit 022f88e into main May 6, 2023
1 check passed
@jnm2 jnm2 deleted the fix_overwrites_from_other_branches branch May 6, 2023 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant