]> granicus.if.org Git - php/commitdiff
Remove vcsclean script
authorPeter Kokot <peterkokot@gmail.com>
Sat, 4 May 2019 15:28:24 +0000 (17:28 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Wed, 8 May 2019 19:51:01 +0000 (21:51 +0200)
The vcsclean script is really only a wrapper for a git clean command.
Developers should use the more proper and clear native Git command
directly instead:
`git clean -Xfd`

build/build.mk
scripts/dev/vcsclean [deleted file]

index b246fa7c10974f42ce8d4fadab2fa0b0749a683c..0a93b660a3af6bcc49d7e61773226d535af6853f 100644 (file)
@@ -65,10 +65,4 @@ snapshot:
        md5sum $$distname.tar.bz2; \
        bzip2 -t $$distname.tar.bz2
 
-gitclean-work:
-       @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: snapshot
diff --git a/scripts/dev/vcsclean b/scripts/dev/vcsclean
deleted file mode 100755 (executable)
index fc7fc2f..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#! /bin/sh
-
-if test -d '.git' -o -f '.git'; then
-    ${MAKE:-make} -f build/build.mk gitclean-work
-else
-    echo "Can't figure out your VCS, not cleaning."
-fi