You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some gitignored local configuration I maintain locally in the same directory as a git repo. Running go-apidiff irrecoverably deletes all of those files because of the git clean it does here:
This behavior is destructive and essentially impossible to know about until it's too late. This behavior should be documented and put behind a descriptive flag like --force-clean.
The text was updated successfully, but these errors were encountered:
I have some
gitignore
d local configuration I maintain locally in the same directory as a git repo. Runninggo-apidiff
irrecoverably deletes all of those files because of thegit clean
it does here:go-apidiff/pkg/diff/run.go
Lines 199 to 201 in 00f8d2e
This behavior is destructive and essentially impossible to know about until it's too late. This behavior should be documented and put behind a descriptive flag like
--force-clean
.The text was updated successfully, but these errors were encountered: