libffi
Erik de Castro Lopo
mle+hs at mega-nerd.com
Sun Aug 4 03:59:22 CEST 2013
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sync-all-Bail-out-if-not-on-master-branch.patch
Type: text/x-diff
Size: 937 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130804/216de6ab/attachment.patch>
More information about the ghc-devs
mailing list