Format the compare against setting to use for display.
(self)
| 269 | view.run_command('git_gutter') |
| 270 | |
| 271 | def format_compare_against(self): |
| 272 | """Format the compare against setting to use for display.""" |
| 273 | comparing = self.get_compare_against() |
| 274 | for repl in ('refs/heads/', 'refs/remotes/', 'refs/tags/'): |
| 275 | comparing = comparing.replace(repl, '') |
| 276 | return comparing |
| 277 | |
| 278 | def in_repo(self): |
| 279 | """Return true, if the most recent `git show` returned any content. |
no test coverage detected