Re: com php-src: Support "git worktree": vcsclean
| From: | Yasuo Ohgaki | Date: | Wed, 10 Aug 2016 23:19:42 +0000 |
| Subject: | Re: com php-src: Support "git worktree": vcsclean | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-93730@lists.php.net to get a copy of this message | ||
git worktree usage is added. git worktree create .git file, not .git dir.
https://wiki.php.net/vcs/gitfaq
--
Yasuo Ohgaki
yohgaki@ohgaki.net
On Thu, Aug 11, 2016 at 8:08 AM, Yasuo Ohgaki <yohgaki@php.net> wrote:
> 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."
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php