xref: /aosp_15_r20/external/flashrom/scripts/downstream_diff.sh (revision 0d6140be3aa665ecc836e8907834fcd3e3b018fc)
1#!/usr/bin/env bash
2
3skips="cros
4manibuilder"
5
6comm -1 <(git ls-tree -r --name-only cros/master | sort) \
7  <(git ls-tree -r --name-only cros/upstream_validation | sort) \
8  | grep -vf <(echo "${skips}") \
9  | xargs git diff cros/master cros/upstream_validation --stat -- \
10  | cat
11
12# writeprotect.c                                 |   18 +-
13# 96 files changed, 1887 insertions(+), 9391 deletions(-)
14