Currently tailor sets the GIT_DIR environment variable to repository url
for a remote repository, which breaks some git commands. This patch
changes the GIT_DIR to the local directory where the remote git
repository is checked out.

Elliot
diff -rN old-tailor/vcpx/repository/git/__init__.py new-tailor/vcpx/repository/git/__init__.py
16a17,18
> import os
> 
48c50
<             self.env['GIT_DIR'] = self.storagedir
---
>             self.env['GIT_DIR'] = os.path.join(self.rootdir, self.subdir, self.METADIR)

_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to