Merge pull request #1 from ogr3/fixMulti

Indentation same as other loop constructs
master
DrVanScott 10 years ago committed by GitHub
commit 9dd07680ee
  1. 3
      gitstatus.sh

@ -26,8 +26,7 @@ num_conflicts=0
num_untracked=0 num_untracked=0
while IFS='' read -r line || [[ -n "$line" ]]; do while IFS='' read -r line || [[ -n "$line" ]]; do
status=${line:0:2} status=${line:0:2}
while [[ -n $status ]] while [[ -n $status ]]; do
do
case "$status" in case "$status" in
#two fixed character matches, loop finished #two fixed character matches, loop finished
\#\#) branch_line="${line/\.\.\./^}"; break ;; \#\#) branch_line="${line/\.\.\./^}"; break ;;

Loading…
Cancel
Save