私が次のことをするとき:
$ git-p4 submit
次のエラートレースが表示されます。
error: patch failed: foo/bar/blah.h:1
error: foo/bar/blah.h: patch does not apply
Unfortunately applying the change failed!
What do you want to do?
[s]kip this patch / [a]pply the patch forcibly and with .rej files / [w]rite the patch to a file (patch.txt)
この状況から回復して送信を成功させるにはどうすればよいですか?
FWIW、P4サーバーはキーワード展開(filetype = text + k)を使用するように構成されており、問題のあるファイルの3行目に展開されたキーワードがあります。1行目で変更を加えました。
1行目のデルタを削除しようとしましたが、git-p4送信を再試行してもエラーが解決しません。