svn commit: r337157 - in head: . tools/tools/git
Warner Losh
imp at bsdimp.com
Sat Aug 4 17:16:38 UTC 2018
On Sat, Aug 4, 2018, 6:08 PM Eitan Adler <lists at eitanadler.com> wrote:
> On Thu, 2 Aug 2018 at 11:28, Ben Widawsky <bwidawsk at 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 ?
>
No. That won't work. We do not want to change the location of master. This
will reset it to trunk, which is nearly always wrong.
Warner
>
More information about the svn-src-head
mailing list