Branch that is to be tracked by the submodule.
(self)
| 163 | |
| 164 | @property |
| 165 | def branch(self): |
| 166 | """Branch that is to be tracked by the submodule.""" |
| 167 | branch = C.git_submodule_branch(self._subm) |
| 168 | return ffi.string(branch).decode('utf-8') |
| 169 | |
| 170 | @property |
| 171 | def head_id(self) -> Oid | None: |