Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2018 10:08:10 -0700
From:      Eitan Adler <lists@eitanadler.com>
To:        bwidawsk@freebsd.org
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r337157 - in head: . tools/tools/git
Message-ID:  <CAF6rxgkF1zJJrg_xO1c1Jf81erPKTzLdS9PgTZhh1cWuhk5JiQ@mail.gmail.com>
In-Reply-To: <201808021828.w72IS2ts055984@repo.freebsd.org>
References:  <201808021828.w72IS2ts055984@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Aug 2018 at 11:28, Ben Widawsky <bwidawsk@freebsd.org> wrote:
> +git_checkout()
> +{
> +       # Delete master
> +       ${GIT} branch -D master
> +
> +       # Make master really be trunk
> +       ${GIT} checkout -b master trunk

Can't this be git branch --force master trunk ?

-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkF1zJJrg_xO1c1Jf81erPKTzLdS9PgTZhh1cWuhk5JiQ>