This repository has been archived by the owner. It is now read-only.
Browse files

Don't count mkpath in ObserverPathnameExtension

mkpathed directories aren't really "linked" or "unlinked" per se,
and link/unlink handle directories differently. It's easier just to
ignore them, which finally synchronizes link/unlink counts.
  • Loading branch information...
1 parent 2834ccc commit f899878220668c7c7f0fcf43c6d294a52b7e79ed @mistydemeo mistydemeo committed Oct 4, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 Library/Homebrew/extend/pathname.rb
@@ -362,12 +362,6 @@ def rmdir
puts "rmdir #{to_s}" if ARGV.verbose?
- def mkpath
- return if exist?
- super
- puts "mkpath #{to_s}" if ARGV.verbose?
- $d+=1
- end
def make_relative_symlink src

0 comments on commit f899878

Please sign in to comment.