git-p4 submit fails with patch does not apply

前端 未结 2 1895
Happy的楠姐
Happy的楠姐 2021-01-05 07:30

When I do the following:

$ git-p4 submit

I wind up with the following error trace:

error: patch failed: foo/bar/blah.h:1
er         


        
2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-05 07:52

    This bit me as well. The other option is to change the file type through the GUI tool or the command line so that it's no longer a text+k or text+ko file type (so expansion doesn't happen). If you do that, it will commit OK.

提交回复
热议问题