-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Closed
Copy link
Labels
Area-Maintainers-Buildspecific to affecting the buildspecific to affecting the buildIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.
Description
Steps to reproduce
- Add some .cs files with things you are working on that don't happen to be tracked yet.
- Invoke
Start-PSBuild -Cleanto kick off a clean build process. - Your untracked files are deleted without warning or prompt, and they don't even go into your recycle bin.
Expected behavior
Start-PSBuild -Clean should not delete untracked source files without prompt by default (which git clean does). That is a really poor decision. I just lost a good chunk of work because of that behaviour, and now I'm losing time trying to get it back. All I wanted was a clean build (i.e. remove any temporary build files, and then rebuild). I did not want to remove files I happen to have in my file system that may be important to me.
Actual behavior
Any untracked files you have are removed without warning and without even going to the recycle bin.
Environment data
Irrelevant, but I happen to be invoking Start-PSBuild in Windows PowerShell 5.1.
vexx32 and SeeminglyScience
Metadata
Metadata
Assignees
Labels
Area-Maintainers-Buildspecific to affecting the buildspecific to affecting the buildIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.