summaryrefslogtreecommitdiff
path: root/gbp/git.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-10-28 18:40:25 +0200
committerGuido Günther <agx@sigxcpu.org>2011-10-28 18:40:25 +0200
commit1fd6ddad71a2f95f254172dbdd176f06da15d9cb (patch)
treef8022098917d3ffde48433d45380acb008e5391a /gbp/git.py
parent1a590241a7b95f13784d735a2e6d34bde83ed31c (diff)
GitRepository: rename base_dir to git_dir
since that's where it points to.
Diffstat (limited to 'gbp/git.py')
-rw-r--r--gbp/git.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gbp/git.py b/gbp/git.py
index 74ce711..995d652 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -190,12 +190,12 @@ class GitRepository(object):
@property
def path(self):
- """The path to the repository"""
+ """The absolute path to the repository"""
return self._path
@property
- def base_dir(self):
- """Get the base of the repository"""
+ def git_dir(self):
+ """The absolute path to git's metadata"""
return os.path.join(self.path, self._git_dir)
@property