With this new option, we get information about which remote branch we're
tracking. On top of this, we'll get information about ahead/behind
commits when we diverged from remote. The output format will be in the
form:
'local...remote +ahead -behind',
where ahead and behind are the number of commits ahead and behind.
This functionality is controlled by a new option called
'@dracula-git-show-remote-status'.
Note that for this to be properly displayed, we need to increase the
size of the right status bar when the git plugin is enabled.
In order to be easier to introduce the change, getMessage() was also a
bit changed in order to be easier to append the remote info.
Signed-off-by: Nuno Sá <noname.nuno@gmail.com>
By default 'git status' will look for untracked files and the script will
always detect that the local tree has changes if untracked files are
present. That is not always optimal since sometimes we might have, for
example, some custom build scripts (for some project) that is always
present and we don't want the status bar to always indicate changes.
Hence, add an option to disable this behavior by adding the '-uno' flag
to 'git status'. The default behavior is still maintained.
Signed-off-by: Nuno Sá <noname.nuno@gmail.com>
Enbolden window titles on activity or bell status. This is more readable, IMO, than the default reverse text, especially when window flags appear in different colors.