Klaus Demo ~jonashaag/klaus / 67f2439
Revert "Fix 'get_tag_and_branch_shas' for bare repos" This is now fixed in Dulwich 0.12.0. This reverts commit a2b74f246d5377942225b637577bc6b9750a8e18. Jonas Haag 6 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
9595
9696 def get_tag_and_branch_shas(self):
9797 """Return a list of SHAs of all tags and branches."""
98 tag_shas = self.refs.as_dict('refs/tags').values()
99 branch_shas = self.refs.as_dict('refs/heads').values()
98 tag_shas = self.refs.as_dict('refs/tags/').values()
99 branch_shas = self.refs.as_dict('refs/heads/').values()
100100 return tag_shas + branch_shas
101101
102102 def history(self, commit, path=None, max_commits=None, skip=0):