Re: [GUILT 06/28] Fix and simplify the do_get_patch function.

2014-05-07 Thread Per Cederqvist
n Tue, May 6, 2014 at 9:08 PM, Jeff Sipek wrote: > On Sun, Mar 23, 2014 at 10:03:48PM +0100, Per Cederqvist wrote: >> On Sun, Mar 23, 2014 at 6:09 PM, Jeff Sipek wrote: >> >> > On Fri, Mar 21, 2014 at 08:31:44AM +0100, Per Cederqvist wrote: >> >> When extracting the patch, we only want the actual

Re: [GUILT 06/28] Fix and simplify the do_get_patch function.

2014-05-06 Thread Jeff Sipek
On Sun, Mar 23, 2014 at 10:03:48PM +0100, Per Cederqvist wrote: > On Sun, Mar 23, 2014 at 6:09 PM, Jeff Sipek wrote: > > > On Fri, Mar 21, 2014 at 08:31:44AM +0100, Per Cederqvist wrote: > >> When extracting the patch, we only want the actual patches. We don't > >> want the "---" delimiter. Sim

Re: [GUILT 06/28] Fix and simplify the do_get_patch function.

2014-03-23 Thread Per Cederqvist
On Sun, Mar 23, 2014 at 6:09 PM, Jeff Sipek wrote: > On Fri, Mar 21, 2014 at 08:31:44AM +0100, Per Cederqvist wrote: >> When extracting the patch, we only want the actual patches. We don't >> want the "---" delimiter. Simplify the extraction by simply deleting >> everything before the first "di

Re: [GUILT 06/28] Fix and simplify the do_get_patch function.

2014-03-23 Thread Jeff Sipek
On Fri, Mar 21, 2014 at 08:31:44AM +0100, Per Cederqvist wrote: > When extracting the patch, we only want the actual patches. We don't > want the "---" delimiter. Simplify the extraction by simply deleting > everything before the first "diff " line. (Use sed instead of awk to > simplify the code

[GUILT 06/28] Fix and simplify the do_get_patch function.

2014-03-21 Thread Per Cederqvist
When extracting the patch, we only want the actual patches. We don't want the "---" delimiter. Simplify the extraction by simply deleting everything before the first "diff " line. (Use sed instead of awk to simplify the code.) Without this patch, "guilt fold" and "guilt push" sometimes fails if