File: git_showdiff.sh

package info (click to toggle)
openms 2.6.0%2Bcleaned1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 783,124 kB
  • sloc: cpp: 526,887; xml: 142,287; ansic: 54,252; python: 11,640; php: 2,454; sh: 1,137; ruby: 529; yacc: 403; perl: 85; lex: 74; makefile: 60
file content (15 lines) | stat: -rw-r--r-- 396 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

echo "Usage: git_showdiff.sh REV1 REV2"

git diff $1 $2 --name-only \
  | grep -v '^src/tests/topp/' \
  | grep -v '^share/OpenMS' \
  | grep -v '^src/tests/class_tests/openms/data/' \
  | grep -v '^cmake/modules/'  \
  | grep -v '^cmake/'  \
  | grep -v '^src/openswathalgo/thirdparty' \
  | grep -v '^src/openms/thirdparty/' \
  | grep -v '^tools'  \
  | xargs git diff --shortstat $1 $2 --