schacon/ruby-git — pull request #39 by jdcasey (2012-02-09 00:46:10+00:00)
Title: Update escaping for file names to handle files with single quotes

It took me a couple of tries to get it right, but I've been using this code for a year now without a problem.