We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5fd07e commit 42b88e3Copy full SHA for 42b88e3
src/main/scripts/find_affected_jars.bash
@@ -0,0 +1,20 @@
1
+#!/bin/bash -e
2
+
3
+[ "$1" == "" ] && echo "usage: $0 <commitish>" && exit 1
4
+c="$1"
5
6
+find packaging/ -name 'hive*jar' -exec unzip -t "{}" \; > _contents
7
8
9
+git diff "$c"|grep '^+++'|
10
+ cut -c 5-|
11
+ sed 's/java$/class/'|
12
+ grep 'class$'|
13
+ sed -r 's|^(.*/)|/|' > pats
14
15
16
+fgrep -f <(cat pats;echo Archive:) _contents |fgrep -B1 -f pats
17
+echo -e "\n --- \n"
18
19
+fgrep -f <(cat pats;echo Archive:) _contents |fgrep -B1 -f pats|grep Archive
20
0 commit comments