Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Issue #234: Do not check utime on a copied symlink #240
added a commit
this pull request
Jul 10, 2012
Thanks for htis patch!
As an FYI, I made a slight change post-merge:
- return if source_stat.ino == dest_stat.ino || File.symlink?(destination) + return if source_stat.ino == dest_stat.ino || dest_stat.symlink?
Saves a stat call since we already know if 'destination' is a symlink through dest_stat (I think)