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

0 views
Skip to first unread message

Yangkook Kim

unread,
Dec 14, 2009, 1:25:19 PM12/14/09
to open-iscsi
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

Erez Zilber

unread,
Dec 15, 2009, 1:11:38 AM12/15/09
to open-...@googlegroups.com
Use git diff --relative (when you're in the open-iscsi/kernel dir).

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

Boaz Harrosh

unread,
Dec 15, 2009, 7:41:09 AM12/15/09
to open-...@googlegroups.com, Yangkook Kim
Please don't do that please submit a patch to Makefile so it can
accept either formats.

Boaz
Reply all
Reply to author
Forward
0 new messages