(self)
| 214 | |
| 215 | @property |
| 216 | def current_branch(self): |
| 217 | if self.git_repo.head_is_detached: |
| 218 | b = self.git_repo.lookup_reference('GL_FUSE_ORIG_HEAD').resolve() |
| 219 | else: |
| 220 | b = self.git_repo.head |
| 221 | return self.lookup_branch(b.shorthand) |
| 222 | |
| 223 | def create_branch(self, name, head): |
| 224 | try: |
nothing calls this directly
no test coverage detected