blob: 073cbcd000ddebd6a8252ef7e7d17bd5565886d2 [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 goog/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 "============================"