-
assigned issue to
- edited description
[Solved] Patch Error on commit fd6704bc4329
I'm running into ...
Fatal Git Apply: bad git diff expected dev/null/ on line 106...
Looks like line 106 reads
--- /dev/null
Little strange... :(
Comments (7)
-
reporter -
repo owner sorry for delay ehm... is it really a Trinity commit? I can't find it... but it is not a problem. Are you trying to apply this patch after some another? I am a little busy solving #5218 Try to patch it (you will most likely get some rejects):
patch -p1 < AllBots.patch
-
repo owner - changed status to open
-
reporter Sorry I linked my local commit from my repo, not trinity. Still the same though. commit 0620d2249131d681529f8a69f8bbec5e1773ad4d (Trinity) 10.08.12 - Clean Fresh pull, no other patches.
I didn't use patch -p1 < Allbots.patch Haven't used patch -p1 in years.
Using Git apply patch --reject allbots.patch
-
repo owner Tinity GIT Commands Topic
Apply patch to sources:
git apply < <patch_name>.patch
Apply patch to sources with creating of new files:
patch -p1 < <patch_name>.patch
So basically using patch command is a way to apply this patch properly -
reporter - changed status to resolved
-
reporter Thanks. Always used git --reject to get the .rej files. Never tried -p1. Worked just fine.
- Log in to comment