Browse Source

Merge "Fix spelling mistakes in cover.sh"

tags/4.0.0.0b1
Jenkins 2 years ago
parent
commit
341d5299de
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      tools/cover.sh

+ 5
- 5
tools/cover.sh View File

@@ -23,9 +23,9 @@ show_diff () {
23 23
     diff -U 0 $1 $2 | sed 1,2d
24 24
 }
25 25
 
26
-# Stash uncommited changes, checkout master and save coverage report
27
-uncommited=$(git status --porcelain | grep -v "^??")
28
-[[ -n $uncommited ]] && git stash > /dev/null
26
+# Stash uncommitted changes, checkout master and save coverage report
27
+uncommitted=$(git status --porcelain | grep -v "^??")
28
+[[ -n $uncommitted ]] && git stash > /dev/null
29 29
 git checkout HEAD^
30 30
 
31 31
 baseline_report=$(mktemp -t manila_coverageXXXXXXX)
@@ -33,9 +33,9 @@ find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --testr
33 33
 coverage report --ignore-errors > $baseline_report
34 34
 baseline_missing=$(awk 'END { print $3 }' $baseline_report)
35 35
 
36
-# Checkout back and unstash uncommited changes (if any)
36
+# Checkout back and unstash uncommitted changes (if any)
37 37
 git checkout -
38
-[[ -n $uncommited ]] && git stash pop > /dev/null
38
+[[ -n $uncommitted ]] && git stash pop > /dev/null
39 39
 
40 40
 # Generate and save coverage report
41 41
 current_report=$(mktemp -t manila_coverageXXXXXXX)

Loading…
Cancel
Save