It took a while (6 months) to develop a fix, as we were waiting for the feature .../api/tfvc/changesets#CreateachangesetAddafolder to light up in the TFVC REST API.
Once the feature was available on TFVC, the code change in Folder Management looks trivial when you compare the revisions.
Find the complete code here.
So what’s the impact?
When you use the extension (version 1.1.10 or higher) to create a new folder in:
- Git, a placeholder file will be created as part of the folder. Git does not like empty folders.
- TFVC, we no longer create a placeholder file. Only the folder is created.
We need your ideas and feedback!
Thoughts? Add a comment below or ping us here.