[petsc-dev] please fix your bugs in next! error: 'SNESCompositeGetNumber' was not declared in this scope

Matthew Knepley knepley at gmail.com
Tue Nov 25 20:12:48 CST 2014


On Tue, Nov 25, 2014 at 5:20 PM, Jed Brown <jed at jedbrown.org> wrote:

> Matthew Knepley <knepley at gmail.com> writes:
> > Here is what I put in my config:
> >
> > [remote "patrick"]
> > url = git at bitbucket.org:pefarrell/petsc
> > fetch =
> >
> +refs/heads/pefarrell/snes-composite-get-number:refs/remotes/pefarrell/snes-composite-get-number
>
> This is rather complicated/involved if you have a lot of branches.  It's
> also hard to remember which branches get updated from where.


I did this precisely so that it would track exactly which branches I was
pulling,
and I could remove them when they were merged.


>
> > Then I do
> >
> >   git fetch patrick
> >
> > and then
> >
> >   git checkout next
> >   git merge pefarrell/snes-composite-get-number
> >
> > So does your fetch line create a local branch?
>
> Yes, it creates a local branch and then I push that local branch.
>

Okay, I can use that form

  Thanks,

    Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20141125/22c944e0/attachment.html>


More information about the petsc-dev mailing list