有这个需要,主要是因为不想在 git 提交后的 diff 中无看到不有意思的 diff 显示。使用 textmate 的同学可以用这个工具来解决这个小问题。
安装方法
cd ~/Library/Application\ Support/TextMate/Bundles/
git clone git://github.com/glennr/uber-glory-tmbundle.git Uber\ Glory.tmbundle
cd Uber\ Glory.tmbundle
git submodule update --init
osascript -e 'tell app "TextMate" to reload bundles'