aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-12-28 15:21:36 -0600
committerJack Nagel2011-12-28 15:25:03 -0600
commitf1f89ce92ef722bb3c8820ec2487abd1c931eef9 (patch)
tree5312888f0157ff88a9d0abec2134e2a36c2753c4 /Library
parent4d6fc3720c551a22310388f4cff408a4f52e397b (diff)
downloadhomebrew-f1f89ce92ef722bb3c8820ec2487abd1c931eef9.tar.bz2
git: remove hardlink cruft
I'm not sure if this was every really necessary, but at least in current git, these things are already hardlinks to the main git binary. From a non-Homebrew build: $ ls -i1 53142021 git 53142026 git-cvsserver 53142021 git-receive-pack 53142025 git-shell 53142021 git-upload-archive 53142022 git-upload-pack 53142116 gitk Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/git.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index 2a86d3028..1b116b1e8 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -58,17 +58,6 @@ class Git < Formula
# Some people like the stuff in the contrib folder
(share+'git').install 'contrib'
- # These files are exact copies of the git binary, so like the contents
- # of libexec/git-core lets hard link them.
- # I am assuming this is an overisght by the git devs.
- git_md5 = (bin+'git').md5
- %w[git-receive-pack git-upload-archive].each do |fn|
- fn = bin + fn
- next unless git_md5 == fn.md5
- fn.unlink
- fn.make_link bin+'git'
- end
-
# We could build the manpages ourselves, but the build process depends
# on many other packages, and is somewhat crazy, this way is easier.
GitManuals.new.brew { man.install Dir['*'] }