Skip to content

Use git clean with proper long path support - #3

Merged
dpodder merged 1 commit into
masterfrom
better-clean
Sep 2, 2016
Merged

dpodder merged 1 commit into
masterfrom
better-clean

Conversation

@dpodder

@dpodder dpodder commented Sep 1, 2016

Copy link
Copy Markdown
Owner

Turns out that git clean can actually delete files with paths that are "too long." The trick is to enable the support with git config core.longpaths true. This means we can remove the hacky workaround of robocopying an empty directory and re-cloning the repo every time.

@dpodder

dpodder commented Sep 1, 2016

Copy link
Copy Markdown
Owner Author

@john-soklaski PTAL

@john-soklaski john-soklaski self-assigned this Sep 1, 2016
@john-soklaski

Copy link
Copy Markdown
Collaborator

@dpodder Nice cleanup! LGTM

@dpodder
dpodder merged commit 46f974c into master Sep 2, 2016
@dpodder
dpodder deleted the better-clean branch September 2, 2016 17:38
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