libffi

Patrick Palka patrick at parcs.ath.cx
Sun Aug 4 08:00:17 CEST 2013


I think the branch check should only be done when performing a pull
command. That way one can still do ./sync-all fetch, ./sync-all diff, etc
when on a separate branch.


On Sat, Aug 3, 2013 at 9:59 PM, Erik de Castro Lopo <mle+hs at mega-nerd.com>wrote:

> Erik de Castro Lopo wrote:
>
> > Simon Peyton-Jones wrote:
> >
> > > I'd done that (repeatedly).  BUT, as has often happened before, I'd
> forgotten
> > > that my tree was on a different branch, and pulling of course has no
> effect on
> > > the branch.   Rats.   Note to self: whenever anything odd happens,
> check you
> > > are on 'master'.
> >
> > Better yet, the sync-all script should detect whether it is on master and
> > error out (with a decent error message) if not.
> >
> > That way you (and I and others) don't have to remember this particular
> failure
> > mode.
> >
> > My Perl coding skills are rather rusty, but I'll have a go at this.
>
> Attached is a patch that checks that the current branch is master
> and bails if it isn't. If no one sees anything obviously wrong
> with this I'll push it.
>
> Cheers,
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130804/46fd2309/attachment.htm>


More information about the ghc-devs mailing list