diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-01-19 13:49:03 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-01-19 13:49:03 +0000 |
commit | 96143d48f432d08be650ea69cbd56cb50988e855 (patch) | |
tree | 2bc12320bf83bcd84f52452dd87a3d0ef0b1c5ed /morphlib/git.py | |
parent | 9a08e558f6493cb2e4b664dab797270300c80caa (diff) | |
download | morph-96143d48f432d08be650ea69cbd56cb50988e855.tar.gz |
Document get_treeish() of the SourceManager.
Diffstat (limited to 'morphlib/git.py')
-rw-r--r-- | morphlib/git.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/morphlib/git.py b/morphlib/git.py index 7654e3bd..2cde8c55 100644 --- a/morphlib/git.py +++ b/morphlib/git.py @@ -70,8 +70,7 @@ class Treeish: try: binascii.unhexlify(ref) ex = morphlib.execute.Execute(self.repo, self.msg) - # TODO why is refs unused here? can we remove it? - refs = ex.runv(['git', 'rev-list', '--no-walk', ref]) + ex.runv(['git', 'rev-list', '--no-walk', ref]) self.sha1=ref except (TypeError, morphlib.execute.CommandFailure): raise InvalidTreeish(self.repo,ref) |