(self, **kwargs)
| 89 | |
| 90 | @capture_stdout(strip=True) |
| 91 | def current_branch(self, **kwargs): |
| 92 | return self.rev_parse("--abbrev-ref", "HEAD", **kwargs) |
| 93 | |
| 94 | def repository_root(self, git_dir=None, **kwargs): |
| 95 | """ Locates the repository's root path from a subdirectory. """ |