phabricator生成diff报错:
arcanist/bin/arc diff --raw-command ‘git diff origin/master origin/xxxxxx -U20000’
报错:
Exception
[HTTP/500] Internal Server Error
500 - 服务器错误
追查原因是有个文件的编码格式是 ISO-8859
file xx/xx.conf
xx/xx.conf: ISO-8859 text, with CRLF line terminators
可以在Vim界面上直接转换文件编码,如转换成utf-8:
:set fileencoding=utf-8
或者使用文本编辑器也可以
再次执行问题解决了