I have generated a large patchset, and when I am trying to apply it with "patch -Np1 -i ", it shows something like this:
Код: Выделить всё
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src 2024-03-09 15:47:51.145613870 +0100
|+++ dest 2024-03-09 16:03:27.723860711 +0100
--------------------------
File to patch:
I tried using -t, but only what it did is it didn't apply any patches at all.
Is there a way to make patch automatically use the file with three pluses as the file to patch?
Thanks in advance.
Источник: https://stackoverflow.com/questions/781 ... -of-asking
Мобильная версия