Messages in this thread | | | Date | Sun, 18 Oct 2015 19:58:14 -0700 | Subject | Re: Linux 4.3-rc6 | From | Linus Torvalds <> |
| |
On Sun, Oct 18, 2015 at 7:38 PM, Randy Dunlap <rdunlap@infradead.org> wrote: > > When using 'patch' and patch-4.3-rc6.gz to create a Linux 4.3-rc6 source tree, > scripts/kernel-doc-xml-ref is not created as executable. (This has been > happening for several -rc releases now).
'patch' doesn't know anything about file modes. It ignores all the nice git extensions, and has no idea what the line
new file mode 100755
means in a git patch.
(Well, at least traditional "patch" doesn't understand it. I know some people have worked at adding basic git patch support to newer versions of "patch", since things like git rename patches etc are obviously so superior to traditional patches).
> Am I doing something wrong? (other than not using git)
Use git.
You can use "git apply" as a replacement for "patch", even if you don't actually use a git repository or use git in any other form.
Linus
| |