diff options
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) |