mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-01-31 07:33:42 +01:00
fix GitRepository revision function
This commit is contained in:
parent
5115ce2faf
commit
fc528c0f65
@ -52,8 +52,8 @@ class Repository(object):
|
|||||||
class GitRepository(Repository):
|
class GitRepository(Repository):
|
||||||
|
|
||||||
def revision (self):
|
def revision (self):
|
||||||
return repository.refs['HEAD']
|
return self.repository.refs['HEAD']
|
||||||
|
|
||||||
|
|
||||||
def areTherePendingChanges (self):
|
def areTherePendingChanges (self):
|
||||||
return repository.is_dirty()
|
return repository.is_dirty()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user