[petsc-dev] code duplication in snes ex12.c

Geoffrey Irving irving at naml.us
Fri Nov 15 13:16:40 CST 2013


On Thu, Nov 14, 2013 at 5:49 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> Geoffrey Irving <irving at naml.us> writes:
>
>> Here you go.  What's the preferred way of submitting little patches,
>> again?  These go on top of next.
>
> They can't actually be applied on top of 'next' because 'next' is thrown
> away ultimately.  I don't mind where the typo fix goes (can be directly
> in 'master', though if there's likely to be more than one, it would be
> better either squashed into one "typo fixes in manual" commit or in a
> branch, just to keep --first-parent history clean).
>
> I applied the other in a new branch called 'geoff/snes-ex12-cleanup'.
> You have access to the repository now, so go ahead and commit there.
>
> Dev workflow is outlined here.
>
> https://bitbucket.org/petsc/petsc/wiki/developer-instructions-git

Thanks, git-prompt and completion are sweet.

There should be two branches pushed out now: irving/fix-manual-typo
and irving/snes-ex12-cleanup.  Thanks for the repo access.

Geoffrey



More information about the petsc-dev mailing list