Perforce: Keeping Perforce from altering text-file format

前端 未结 5 1241
猫巷女王i
猫巷女王i 2021-02-19 10:20

Is there a way to tell Perforce to leave text files alone without setting the file-type as binary? Or barring that, is there a way to tell the Perforce client to diff binaries?

5条回答
  •  遇见更好的自我
    2021-02-19 10:24

    Set all of your client/workspace specs to 'unix' line-endings. Then no conversion will take place when you check in on Windows.

    See http://answers.perforce.com/articles/KB_Article/CR-LF-Issues-and-Text-Line-endings/

提交回复
热议问题