ansible/ansible — pull request #1921 by lorin (2013-01-26 01:53:58+00:00)
Title: Git module: fix for relative paths

Make the destination path absolute in the git module.

This fixes a bug where the git module would attempt to chdir into an invalid directory because of multiple chdir calls against a relative path.

I ran into this because I was using the git module with delegation to make some changes locally to a git repository before pushing it up to deploy a webserver. On my local machine, I only care about the git paths relative to the playbook.