mirror of
https://gitlab.com/ceda_ei/wish
synced 2025-10-30 00:50:04 +01:00
Use git if it exists in install script
This commit is contained in:
@@ -15,7 +15,7 @@ function wish_vcs_set_colors() {
|
||||
}
|
||||
|
||||
function wish_vcs_main() {
|
||||
local op=$(git diff --numstat HEAD 2> /dev/null || echo -1)
|
||||
local op=$(git diff --numstat 2> /dev/null || echo -1)
|
||||
if [[ $op != "-1" ]]; then
|
||||
local git
|
||||
git="$git $WISH_VCS_GIT_SYMBOL "
|
||||
|
||||
Reference in New Issue
Block a user