microsoft / microsoft/VFSForGit
Mac: Update placeholder modes during projection changes and add mode functional tests
Open
Nobody has claimed this yet.
domain: user-mode
platform: macOS
priority: mac-next
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 474
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 8
Description
UpdatePlaceholderIfNeeded should be called when a file's mode is changing (even if its contents are not changing).
TBD if UpdatePlaceholderIfNeeded can be smart enough to just update the mode.
Also add functional tests that validate:
- Initial mode projection is correct
- Mode + content changes between commits
- Mode only changes (without any change to content, see issue #223)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating UpdatePlaceholderIfNeeded and the existing functional-test entry points for projection changes. Verify initial mode projection, combined mode and content changes between commits, and mode-only changes; done means all three scenarios pass and the mode is updated when file contents remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- devtools, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100