contrib: add upstream_diff

I've been using this wrapper for meld for a long time to verify any
fixups I have to apply to BACKPORTs have landed correctly.

meld makes it blindingly obvious when a patch isn't the same as the
upstream. Very useful to verify UPSTREAM patchs.

In a few rare, more complex cases, meld may get confused and not align
the changes correctly.

BUG=none
TEST=upstream_diff.py /tmp/git.log

Change-Id: Ifcc1d86f1b0eb8cad4f2a428a532fa4227369e84
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/3215048
Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Commit-Queue: Grant Grundler <grundler@chromium.org>
Tested-by: Grant Grundler <grundler@chromium.org>
1 file changed