Add used branch to tmux output

This commit is contained in:
DariusIII
2018-12-20 11:44:42 +01:00
parent 6716ae41e4
commit 94b94d8433
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -131,10 +131,11 @@ class TmuxOutput extends Tmux
$buffer = '';
$state = ((int) $this->runVar['settings']['is_running'] === 1) ? 'Running' : 'Disabled';
$version = (new Git())->tagLatest();
$branch = (new Git())->getBranch();
$buffer .= sprintf(
$this->tmpMasks[2],
"Monitor $state $version".':',
"Monitor $state $version [".$branch.'] :',
$this->relativeTime($this->runVar['timers']['timer1'])
);
+1
View File
@@ -1,4 +1,5 @@
2018-12-20 DariusIII
* Chg: Add used branch to tmux output
* Fix: Fix wrong class used in TmuxOutput class _getHeader function
* Chg: Update TmuxOutput _getHeader function
* Chg: Update Git related classes and add back version to tmux monitor pane