gitlabhq / grit

Grit gives you object oriented read/write access to Git repositories via Ruby. Patched for GitLab
gitlab.org
MIT License
59 stars 55 forks source link

Remove Dir.chdir for thread-safety #13

Closed xdissent closed 11 years ago

xdissent commented 11 years ago

Dir.chdir doesn't work in multithreaded/async environments. The native method has support for a :chdir option though. There are probably chdir's I've missed but this is a start.