LoginSignup
4
4

More than 5 years have passed since last update.

rails開発してたらコミットコメントが文字化けた話

Posted at

先週ぐらいからrails開発をしています。
Eclipseにaptana plugin(なにやらこれが使いやすいという話をきいたので)を入れて、First commit!

実はこのときにgit pluginのUIが慣れているEgitとはだいぶ違ったのですが、大幅にUI変更したのだろうと気にしてませんでした。

そしてブラウザでコミットを確かめてみると、なにやら???と文字化け。

なんじゃこりゃと思い調べてみると、ここにこんな情報が…
解決:Aptana(eclipse) + EGit のコミットログ文字化けと化けたログの修正方法

実際のコミットに使用されていたのは EGit ではなく Aptana 導入時にこっそり追加されている PortableGit だったというオチでした

おおぅ...やっぱりアレはEgitじゃなかったのか。

実際にみてみる。

username-no-MacBook-Air:plugins username$ ls |grep git
com.aptana.git.core_3.0.0.1375993045
com.aptana.git.ui_3.0.3.1371850011.jar 
org.eclipse.egit.core_3.2.0.201312181205-r.jar
org.eclipse.egit.doc_3.2.0.201312181205-r.jar
org.eclipse.egit.ui_3.2.0.201312181205-r.jar
org.eclipse.egit_3.2.0.201312181205-r.jar
org.eclipse.jgit.archive_3.2.0.201312181205-r.jar
org.eclipse.jgit_3.2.0.201312181205-r.jar

確かに何か居る。
試しにどいていただくことに…

username-no-MacBook-Air:plugins username$ mv com.aptana.git.* ~/tmp/
username-no-MacBook-Air:plugins username$ ls |grep git
org.eclipse.egit.core_3.2.0.201312181205-r.jar
org.eclipse.egit.doc_3.2.0.201312181205-r.jar
org.eclipse.egit.ui_3.2.0.201312181205-r.jar
org.eclipse.egit_3.2.0.201312181205-r.jar
org.eclipse.jgit.archive_3.2.0.201312181205-r.jar
org.eclipse.jgit_3.2.0.201312181205-r.jar

このあとeclipseを立ち上げ直して、git cloneして再度コミットしたら文字化けがなおりました。

文字化けたコミットコメントはめんどくさくて直してないです。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4