We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f962f0 commit 495a5abCopy full SHA for 495a5ab
1 file changed
build/build.mk
@@ -73,6 +73,9 @@ svnclean-work:
73
done
74
75
gitclean-work:
76
- @echo "We don't know how to clean Git checkouts yet."
+ @if (test ! -f '.git/info/exclude' || grep -s "git-ls-files" .git/info/exclude); then \
77
+ (echo "Rebuild .git/info/exclude" && echo '*.o' > .git/info/exclude && git svn propget svn:ignore | grep -v config.nice >> .git/info/exclude); \
78
+ fi; \
79
+ git clean -X -f -d;
80
81
.PHONY: $(ALWAYS) snapshot
0 commit comments