[Freeswitch-dev] what's the best way to change code and make patch

Michael Jerris mike at jerris.com
Fri Jul 31 20:34:36 PDT 2009


If you use git locally with git-svn you can do this.

git add -i

Mike

On Jul 31, 2009, at 10:59 PM, Brian West wrote:

> oh that sucks... you'll have to do them differently.
>
> /b
>
> On Jul 31, 2009, at 9:51 PM, Seven Du wrote:
>
>> Thanks Brian. But what if the 2 changes are on one file?
>>
>> change 1
>> svn diff file.c > patch1.diff
>> revert file.c
>> change 2
>> svn diff file.c > patch2.diff
>>
>> patch < patch1.diff
>>
>> Then I got 2 patch files and 2 changes reminds on my code. But it  
>> will
>> be more complicated if I more than 2 changes. Also I have to re-diff
>> if I want to change change1 ...
>>
>> 7.
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org




More information about the FreeSWITCH-dev mailing list