Re: [Libusbx-devel] How to revert patches and apply patches using git

2012-05-26 Thread Xiaofan Chen
On Sat, May 26, 2012 at 4:40 PM, Tormod Volden wrote: > To remove the latest commit in your own git tree, run >  git reset --hard HEAD^ > This resets the tree to the current 2nd commit (HEAD is a short for > the top commit, HEAD^ is second, HEAD^^ us third, etc.). Great, this works perfectly. I

Re: [Libusbx-devel] How to revert patches and apply patches using git

2012-05-26 Thread Ludovic Rousseau
2012/5/26 Yves Arrouye : > Sorry for the slight thread hijack, but how/when do patches make it > into GIT, so we can just pull from GIT? Mainly when Pete Batard decides to commit and push the change. The list of people allowed to push changes is available at [1]. I am one of them but I prefer to l

Re: [Libusbx-devel] How to revert patches and apply patches using git

2012-05-26 Thread Tormod Volden
On Sat, May 26, 2012 at 7:16 AM, Xiaofan Chen wrote: > On Thu, May 24, 2012 at 11:39 PM, Pete Batard wrote: >> This one should work a bit better. >> > > Let me try to use this as an exercise to learn how to revert the > existing v1 patch and then apply this v2 patch. > >> On 2012.05.24 14:17, Xiaof

Re: [Libusbx-devel] How to revert patches and apply patches using git

2012-05-25 Thread Yves Arrouye
Sorry for the slight thread hijack, but how/when do patches make it into GIT, so we can just pull from GIT? On Fri, May 25, 2012 at 10:16 PM, Xiaofan Chen wrote: > On Thu, May 24, 2012 at 11:39 PM, Pete Batard wrote: >> This one should work a bit better. >> > > Let me try to use this as an exerc