Apply patch from lib/grit/index.rb.orig