From 0684db9a2348fe6d07a510651b8219da4f368046 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Wed, 31 May 2023 09:49:05 +0200 Subject: [PATCH] fix(compare.bash): use diff -ur --- tools/compare.bash | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/compare.bash b/tools/compare.bash index 7d861247..17d6796c 100755 --- a/tools/compare.bash +++ b/tools/compare.bash @@ -9,6 +9,4 @@ test -d $upstreamrepo || git clone git@github.com:golang/go.git $upstreamrepo git pull git checkout $TAG ) -for file in $(cd $upstreamrepo/src/net/http && find . -type f -name \*.go); do - git diff --no-index $upstreamrepo/src/net/http/$file $file || true -done +diff -ur $upstreamrepo/src/net/http .