File: git_showdiff.sh

package info (click to toggle)
openms 2.4.0-real-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 646,136 kB
  • sloc: cpp: 392,260; xml: 215,373; python: 10,976; ansic: 3,325; php: 2,482; sh: 901; ruby: 399; makefile: 141; perl: 85
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 --