Re: How to make a 2.6..*_compat.patch without sub-directory?

2009-12-15 Thread Boaz Harrosh
On 12/14/2009 08:25 PM, Yangkook Kim wrote:
> I posted similar message on other thread, but let me ask the same question
> with diffrent tittle.
> 
> I want to make a kernel compat patch without "kernel/" sub-directory.
> I used "git diff" to output the patch, but each header of outputted
> patch includes "kernel/" sub-directory like below.
> 
> e.g
> diff --git a/kernel/libiscsi.c b/kernel/libiscsi.c
> index 0b810b6..6ffb49c 100644
> --- a/kernel/libiscsi.c
> +++ b/kernel/libiscsi.c
> 
> git history shows me that other people have made a compat patch
> without "kernel/" sub-directory in headers.
> 
> Can anybody tell me how to do this?
> 
> Thanks,
> Kim
> 

Please don't do that please submit a patch to Makefile so it can
accept either formats.

Boaz

--

You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.




Re: How to make a 2.6..*_compat.patch without sub-directory?

2009-12-14 Thread Erez Zilber
Use git diff --relative (when you're in the open-iscsi/kernel dir).

Erez

On Mon, Dec 14, 2009 at 8:25 PM, Yangkook Kim  wrote:
> I posted similar message on other thread, but let me ask the same question
> with diffrent tittle.
>
> I want to make a kernel compat patch without "kernel/" sub-directory.
> I used "git diff" to output the patch, but each header of outputted
> patch includes "kernel/" sub-directory like below.
>
> e.g
> diff --git a/kernel/libiscsi.c b/kernel/libiscsi.c
> index 0b810b6..6ffb49c 100644
> --- a/kernel/libiscsi.c
> +++ b/kernel/libiscsi.c
>
> git history shows me that other people have made a compat patch
> without "kernel/" sub-directory in headers.
>
> Can anybody tell me how to do this?
>
> Thanks,
> Kim
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "open-iscsi" group.
> To post to this group, send email to open-is...@googlegroups.com.
> To unsubscribe from this group, send email to 
> open-iscsi+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/open-iscsi?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.