blob: ce57c1e26c1604481598fd35bae6b37a077be5ad [file]
#!/bin/bash
function infocho() { printf "\033[100m$@\033[0m\n"; }
infocho "============================"
infocho "OUR VERSION OF CROSVM IS THIS MUCH FORKED:"
UPSTREAM_COMMIT=$(git merge-base HEAD aosp/upstream-main)
git diff HEAD..$UPSTREAM_COMMIT --stat -- $(find . -name "*.rs" -o -name "*.toml")
function crosvm_take_theirs() {
git checkout $UPSTREAM_COMMIT -- $(find . -name "*.rs" -o -name "*.toml" | grep -v "/out/")
}
infocho "============================"