Closed ashie closed 1 year ago
GitHub上でShift-JISの日本語コメントのdiffを正しく表示できるように.gitattributesを設定しました。 diffを正しく表示できるようになるのは次回以降のプルリクエストです。 リポジトリにはUTF-8で入れてcheckout時に変換されますが、古いGitだと対応していないので、新しめのGitを使う必要があります。 (以前確認したときにはUbuntu 18.04のGitだと対応していませんでしたが、Ubuntu 20.04では問題無かったので、最近の環境であれば大丈夫なはずです)
(以前確認したときにはUbuntu 18.04のGitだと対応していませんでしたが、
16.04だったかも
LGTM
Which issue(s) this PR fixes:
N/A.
What this PR does / why we need it:
Set encoding of source files by .gitattributes to show file diff encoded in CP932 correctly on GitHub. These source files are normalized by
git add --renormaize .
in this PR.How to verify the fixed issue:
The steps to verify:
Expected result: