add porcelain flag to git status
This commit is contained in:
parent
ae878ea120
commit
6e52f3c408
1 changed files with 3 additions and 1 deletions
4
gis
4
gis
|
|
@ -67,6 +67,8 @@ if [ "$fetch" == true ]; then
|
|||
fetch_pids+=("$!")
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
for pid in "${fetch_pids[@]}"; do
|
||||
wait "$pid"
|
||||
done
|
||||
|
|
@ -109,7 +111,7 @@ for dir in $git_dirs; do
|
|||
status_char="${status:0:1}"
|
||||
[[ "$status_keys" != *"$status_char"* ]] && status_keys="${status_keys}${status_char}"
|
||||
fi
|
||||
done < <(git status -sb)
|
||||
done < <(git status -sb --porcelain)
|
||||
status_keys="${status_keys}${remote_status_keys}"
|
||||
|
||||
# Beautify status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue