From 01c40066b3cb9889991a87b208df0d7f77bd5065 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 1 Sep 2016 10:24:23 -0400 Subject: [PATCH] Skip gofmt for staging/ directory We should not try to format stuff that does not belong to the current repository Fixes #31875 --- hack/update-gofmt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/update-gofmt.sh b/hack/update-gofmt.sh index a85713e3d29..e41dea3aaf3 100755 --- a/hack/update-gofmt.sh +++ b/hack/update-gofmt.sh @@ -34,6 +34,7 @@ find_files() { -o -wholename './_output' \ -o -wholename './_gopath' \ -o -wholename './release' \ + -o -wholename './staging' \ -o -wholename './target' \ -o -wholename '*/third_party/*' \ -o -wholename '*/vendor/*' \