Git 用 brew 更新 git 出现了一个警告,帮忙看看。

y_ding · April 04, 2012 · Last by y_ding replied at April 06, 2012 · 3765 hits

今天更新 Git1.7.9.5 时,出现了如下警告: Warning: Non-libraries were installed to "lib". Installing non-libraries to "lib" is bad practice. The offending files are: /usr/local/Cellar/git/1.7.9.5/lib/Git.pm

大家有经验不?如何避免此警告?

你的 git 不是自带的?

嗯。brew 安装的。

如果你装了 XCode 4.3 里面的 Command Line Tools,那么你就不用通过 Brew 装 git 了。Command Line Tools 自带 git。

#3 楼 @lgn21st 弃用自带的 Git 了,喜欢用最新的。

貌似是新 brew 加的警告而已,不理它

#4 楼 @y_ding 使用起来有什么重要得区别嘛?

#6 楼 @lgn21st 嗯。俺有这个追风的瘾,么办法。

You need to Sign in before reply, if you don't have an account, please Sign up first.