Skip to content

Update Git to include en/sparse-checkout#1661

Closed
derrickstolee wants to merge 3 commits intomicrosoft:masterfrom
derrickstolee:sparse-checkout-status-fix
Closed

Update Git to include en/sparse-checkout#1661
derrickstolee wants to merge 3 commits intomicrosoft:masterfrom
derrickstolee:sparse-checkout-status-fix

Conversation

@derrickstolee
Copy link
Contributor

@derrickstolee derrickstolee force-pushed the sparse-checkout-status-fix branch 5 times, most recently from f496762 to e49d5b9 Compare May 14, 2020 09:37
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
The sparse-checkout feature was updated with a more detailed warning
message. This only happens when a formerly-untracked file hits a file on
disk that used to be outside the sparse scope.

Since our control repo doesn't use sparse-checkout but VFS for Git uses
the virtualization hook to feed into the sparse-checkout code, this
means we need to relax the conditions on our test.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
@derrickstolee derrickstolee force-pushed the sparse-checkout-status-fix branch from e49d5b9 to bf98b7c Compare May 14, 2020 10:00
}

[TestCase]
public void ResetMixedOnlyAddedThenCheckoutWithConflicts()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused. This test case was modified in the second commit to change Validate... to Run..., but then the whole test was deleted in the third commit. Not sure if this was intended or what.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the commit confusion. I could not get this test to work the same because of how the (intended?) behavior changed for sparse paths.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While rebasing onto v2.27.0-rc0, I think I found a reason why this test would fail. I'll close this PR and work on the rebased version instead.

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