summaryrefslogtreecommitdiff
path: root/morphlib/gitdir.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/gitdir.py')
-rw-r--r--morphlib/gitdir.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/morphlib/gitdir.py b/morphlib/gitdir.py
index b80096c3..688e4b34 100644
--- a/morphlib/gitdir.py
+++ b/morphlib/gitdir.py
@@ -388,6 +388,9 @@ class GitDirectory(object):
self._ensure_is_git_repo()
+ def __str__(self):
+ return self.dirname
+
def _runcmd(self, argv, **kwargs):
'''Run a command at the root of the git directory.