def _set_author(self, name, email, path=None):
        if not path:
            path = self.remote_path
        path = "%s/.git" % (path,)
        check_call(['git', '--git-dir', path, 'config', '--replace-all',
                   'user.name', name])
        check_call(['git', '--git-dir', path, 'config', '--replace-all',
                   'user.email', email])
dataset/ETHPy150Open dropbox/changes/tests/changes/vcs/test_git.py/GitVcsTest._set_author/original