mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
Add actions for the gitclean target.
This commit is contained in:
parent
d6242c96fe
commit
cd36f154a7
@ -73,6 +73,9 @@ svnclean-work:
|
||||
done
|
||||
|
||||
gitclean-work:
|
||||
@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 \
|
||||
(echo "Rebuild .git/info/exclude" && echo '*.o' > .git/info/exclude && git svn propget svn:ignore | grep -v config.nice >> .git/info/exclude); \
|
||||
fi; \
|
||||
git clean -X -f -d;
|
||||
|
||||
.PHONY: $(ALWAYS) snapshot
|
||||
|
Loading…
Reference in New Issue
Block a user