Skip to content
Snippets Groups Projects
Commit a036c018 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

cov-diff: better handle the case where a file stops having coverage

parent f4c76661
No related branches found
Tags tor-0.2.2.10-alpha
No related merge requests found
......@@ -16,6 +16,5 @@ for B in "$DIRB"/*; do
fi
perl -pe 's/^\s*\!*\d+(\*?):/ 1$1:/; s/^([^:]+:)[\d\s]+:/$1/; s/^ *-:(Runs|Programs):.*//;' "$B" > "$B.tmp"
diff -u "$A.tmp" "$B.tmp" |perl -pe 's/^((?:\+\+\+|---)(?:.*tmp))\s+.*/$1/;'
rm "$A.tmp" "$B.tmp"
rm -f "$A.tmp" "$B.tmp"
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment