From db6532c9d70c1f07256827fed93163076a49b25d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 23 Nov 2022 21:24:00 +0100 Subject: [PATCH] moddiff: Nicer diff --- scripts/gomod-diff.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gomod-diff.sh b/scripts/gomod-diff.sh index b5e863b61..2c3bd8777 100644 --- a/scripts/gomod-diff.sh +++ b/scripts/gomod-diff.sh @@ -31,6 +31,6 @@ cd ../b go mod vendor cd .. -diff -r --color a/vendor b/vendor -diff -r --color a/vendor b/vendor > mod.diff +diff -Naur --color b/vendor a/vendor +diff -Naur --color b/vendor a/vendor > mod.diff echo "Saved to $temp/mod.diff"