Expand tildes(~) for hooksPath by anakinj · Pull Request #853 · sds/overcommit
While installing overcommit git hooks i noticed that tildes are not expanded to home folders for the hooksPath config, the result was a tilde folder in the current directory.
This PR addresses that by switching File.absolute_path to File.expand_path. The underlaying implementation in Ruby is exactly the same just with this difference in how ~ is handled.