Add `SCM_GIT_DISABLE_UNTRACKED_DIRTY="true"` setting for
`lib/omb-prompt-base.sh`.
Add this variable as well as `SCM_GIT_IGNORE_UNTRACKED` into the
`.bashrc` template.
This was largely done correctly, but several invocations of “git” were not
done with “command”. This means that they could pick up aliases for git,
such as “hub” or “lab”, which would still work, but (especially with “lab”)
make things really slow.
* omb-prompt-base: Add "." to git branch whitelist
Add "." to git branch character whitelist to fix branches
like v6.0 or 5.4.2, as examples.
* Update lib/omb-prompt-base.sh
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
The variable `git_status_flags` was not declared in the function
`git_prompt_vars`, so if `set -u` was set in bashrc, it would give
unbound variable error constantly with `set -u`.
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>