[PATCH] centralised definition for surface pressure

Dirk Hohndel dirk at hohndel.org
Mon Jan 14 14:38:56 PST 2013


Jan Schubert <Jan.Schubert at GMX.li> writes:

> On 01/14/13 23:15, Jan Schubert wrote:
>> This patch centralizes the definition for surface pressure, oxygen in
>> air and defines all such values as plain integers.
>>
> Sorry, I know it is not the prefered way, but as the EADD fix got not
> pushed yet this patch mixes centralizing and the EADD calculatoon for OC.
>
> But anyway, have a look to the full integer definitions for the new
> centralised values. If everything else is OK, I might split the patch...

Here is how you do that. In your sources create a branch

git checkout -b work

now commit just the eadd fix

git add -p gtk-gui.c

only accept the one hunk that is the eadd fix

git commit -s

create a commit message for that

git commit -s -a

create a commit message for the rest

Now you have two separate commits.

If Linus or I or anyone else requests more changes for the last patch,
simply make those changes and add them to the last commit

git commit -s -a --amend


hope this helps

/D


More information about the subsurface mailing list