[git-users] Re: how to apply multiple git patches in one shot

2013-08-29 Thread Philip Oakley

On Wednesday, 28 August 2013 22:24:18 UTC+1, Thomas Ferris Nicolaisen 
wrote: 

 On Wednesday, August 28, 2013 7:50:40 PM UTC+2, python.b...@gmail.comwrote:

 I am having around 100 patches like below,is there a way to apply all of 
 them in one shot?

 0001-*.patch,0002-*.patch,0003-*.patch


 Doesn't git apply do this? 
 https://www.kernel.org/pub/software/scm/git/docs/git-apply.html 

 $ cd repo
 $ git apply /path/to/patchfiles/*.patch

 Not sure what the order will be that they are applied, but just try it out.

 
I use 'git apply /path/to/patchfiles/00*.patch' if I have less than 99 in 
the series. This avoids feeding other random files from the same directory 
(when I was simply using *, or *.*)

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[git-users] Re: how to apply multiple git patches in one shot

2013-08-28 Thread Thomas Ferris Nicolaisen
On Wednesday, August 28, 2013 7:50:40 PM UTC+2, python.b...@gmail.com wrote:

 I am having around 100 patches like below,is there a way to apply all of 
 them in one shot?

 0001-*.patch,0002-*.patch,0003-*.patch


Doesn't git apply do this? 
https://www.kernel.org/pub/software/scm/git/docs/git-apply.html 

$ cd repo
$ git apply /path/to/patchfiles/*.patch

Not sure what the order will be that they are applied, but just try it out.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.