Query all branches of the file's repository.
(self)
| 610 | ]) |
| 611 | |
| 612 | def git_branches(self): |
| 613 | """Query all branches of the file's repository.""" |
| 614 | template = ( |
| 615 | '--format="%(refname)\a%(objectname:short) | %(subject)' |
| 616 | '\a%(committername) %(committeremail)\a%(committerdate)"' |
| 617 | ) |
| 618 | return self.execute_async([ |
| 619 | self._git_binary, |
| 620 | 'for-each-ref', '--sort=-committerdate', template, 'refs/heads/' |
| 621 | ]) |
| 622 | |
| 623 | def git_tags(self): |
| 624 | """Query all tags of the file's repository. |
no test coverage detected