chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename Repository.head to Repository.head_ref
[stgit]
/
stgit
/
lib
/
stack.py
diff --git
a/stgit/lib/stack.py
b/stgit/lib/stack.py
index bdd21b1e24a75846ecf7c38e2d0439d8e0ed199a..b1544a5e41886d39f9d9750694bc43c9e5af8bc7 100644
(file)
--- a/
stgit/lib/stack.py
+++ b/
stgit/lib/stack.py
@@
-178,7
+178,7
@@
class Repository(git.Repository):
self.__stacks = {} # name -> Stack
@property
def current_branch(self):
- return utils.strip_leading('refs/heads/', self.head)
+ return utils.strip_leading('refs/heads/', self.head
_ref
)
@property
def current_stack(self):
return self.get_stack()