[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH v1 1/1] gps2udp: do not send out JSON when not con

From: Ferry Huberts
Subject: Re: [gpsd-dev] [PATCH v1 1/1] gps2udp: do not send out JSON when not configured to do so
Date: Fri, 03 Jan 2014 22:10:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 03/01/14 21:57, Gary E. Miller wrote:
Yo Ferry!

On Fri, 03 Jan 2014 21:38:24 +0100
Ferry Huberts <address@hidden> wrote:

Well, it is the only thing I know how to do.  If you have any git
clues to give me then pleasse do.  This is the first I've heard
about it.

just tried for you.

1- save the patch file somewhere
2- in the root of the checkout: 'git am /path/to/patch/file.patch'
3- done

I'm never going to apply patches directly from a patch file.  Way to
many ways to fail there.  I patch my source, compile and test, then
commit and push.

I don't see the problem here.
You apply locally. On a branch if you want.
If the patch doesn't live up to what you expect, you just remove it from your tree. As long as you don't push it, none will be the wiser.

This is Git. Use the force Luke. :-)

     patch < file.patch
     scons install
     git commit -a
     git push

Maybe the --author option to git commit?

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588

Ferry Huberts

reply via email to

[Prev in Thread] Current Thread [Next in Thread]