Re: patch-2.7.3 no longer applies relative symbolic link patches
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jan 26, 2015, 21:30 UTC
- Message-ID
- <CA+55aFwa1-pudNus+r=5EghpGkm33h--GZNND5UHt=ZKvP15Xw@mail.gmail.com>
- In-Reply-To
- <CA+5PVA5RdtLyRiYerG=u--bRZQ87qU0EGf7kGPMiQs9_KB3hRw@mail.gmail.com>
On Mon, Jan 26, 2015 at 1:07 PM, Josh Boyer <jwboyer@fedoraproject.org> wrote:
> > Or did I miss a way that git-apply can take a git patch and apply it > to a tree that isn't a git repo?
Exactly. "git apply" works as a straight "patch" replacement outside of a git repository. It doesn't actually need a git tree to work.
(Of course, "git apply" is _not_ a "patch" replacement in the general sense. It only applies context diffs - preferentially git style ones - so no old-style patches etc need apply. And it's not replacement-compatible in a syntax sense either, in that while many of the options are the same, not all are etc etc).
Linus