com php-src: Support "git worktree": vcsclean
| From: | Yasuo Ohgaki | Date: | Wed, 10 Aug 2016 23:08:26 +0000 |
| Subject: | com php-src: Support "git worktree": vcsclean | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93729@lists.php.net to get a copy of this message | ||
Commit: a38bc7b373c85fc4413a0f194180a24ada58850d
Author: Yasuo Ohgaki <yohgaki@php.net> Thu, 11 Aug 2016 08:08:26 +0900
Parents: 243d5fcb1f070025fa19a5e31a3d8d64c8d1a1e6
Branches: PHP-5.6 PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a38bc7b373c85fc4413a0f194180a24ada58850d
Log:
Support "git worktree"
Changed paths:
M vcsclean
Diff:
diff --git a/vcsclean b/vcsclean
index b5d201b..fc7fc2f 100755
--- a/vcsclean
+++ b/vcsclean
@@ -1,6 +1,6 @@
#! /bin/sh
-if test -d '.git'; then
+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."