com php-src: Remove vcsclean script: build/build.mk scripts/dev/vcsclean
| From: | Peter Kokot | Date: | Wed, 08 May 2019 19:51:01 +0000 |
| Subject: | com php-src: Remove vcsclean script: build/build.mk scripts/dev/vcsclean | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106082@lists.php.net to get a copy of this message | ||
Commit: 4eb67310a0b0f8daddf4edc1f8e41a3dae648953
Author: Peter Kokot <peterkokot@gmail.com> Sat, 4 May 2019 17:28:24 +0200
Parents: ec10e191c4bd4ab2cd2d95a2e4589679f8deb564
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4eb67310a0b0f8daddf4edc1f8e41a3dae648953
Log:
Remove vcsclean script
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
Changed paths:
M build/build.mk
D scripts/dev/vcsclean
Diff:
diff --git a/build/build.mk b/build/build.mk
index b246fa7..0a93b66 100644
--- a/build/build.mk
+++ b/build/build.mk
@@ -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
index fc7fc2f..0000000
--- a/scripts/dev/vcsclean
+++ /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