On Sun, Oct 18, 2015 at 7:38 PM, Randy Dunlap <[email protected]> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to