all: replace 'the the ' with 'the '

`find . -type f \( -name "*.go" -or -name "*.yaml" \) -print0 | xargs -0 gsed -i 's/the the /the /g'`

Change-Id: I422158bbe559d4eb00490f619306a94765dc18e4
GitHub-Last-Rev: d0df252001210eb3b1304099934dd98730bd8809
GitHub-Pull-Request: golang/tools#253
Reviewed-on: https://go-review.googlesource.com/c/tools/+/256258
Trust: Robert Findley <rfindley@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
diff --git a/cmd/callgraph/main.go b/cmd/callgraph/main.go
index 2e09bc4..f74c278 100644
--- a/cmd/callgraph/main.go
+++ b/cmd/callgraph/main.go
@@ -63,7 +63,7 @@
 	flag.Var((*buildutil.TagsFlag)(&build.Default.BuildTags), "tags", buildutil.TagsFlagDoc)
 }
 
-const Usage = `callgraph: display the the call graph of a Go program.
+const Usage = `callgraph: display the call graph of a Go program.
 
 Usage:
 
diff --git a/cmd/fiximports/main.go b/cmd/fiximports/main.go
index ece4adc..1fa87ea 100644
--- a/cmd/fiximports/main.go
+++ b/cmd/fiximports/main.go
@@ -266,7 +266,7 @@
 
 					// TODO(adonovan): should we make an HTTP request to
 					// see if there's an HTTP redirect, a "go-import" meta tag,
-					// or an import comment in the the latest revision?
+					// or an import comment in the latest revision?
 					// It would duplicate a lot of logic from "go get".
 				}
 				break
diff --git a/cmd/guru/referrers.go b/cmd/guru/referrers.go
index a3f1676..9d15071 100644
--- a/cmd/guru/referrers.go
+++ b/cmd/guru/referrers.go
@@ -95,7 +95,7 @@
 		if pkglevel {
 			return globalReferrersPkgLevel(q, obj, fset)
 		}
-		// We'll use the the object's position to identify it in the larger program.
+		// We'll use the object's position to identify it in the larger program.
 		objposn := fset.Position(obj.Pos())
 		defpkg := obj.Pkg().Path() // defining package
 		return globalReferrers(q, qpos.info.Pkg.Path(), defpkg, objposn)
diff --git a/go/internal/gcimporter/gcimporter.go b/go/internal/gcimporter/gcimporter.go
index 8dcd8bb..e8cba6b 100644
--- a/go/internal/gcimporter/gcimporter.go
+++ b/go/internal/gcimporter/gcimporter.go
@@ -491,7 +491,7 @@
 //
 // For unqualified and anonymous names, the returned package is the parent
 // package unless parent == nil, in which case the returned package is the
-// package being imported. (The parent package is not nil if the the name
+// package being imported. (The parent package is not nil if the name
 // is an unqualified struct field or interface method name belonging to a
 // type declared in another package.)
 //
diff --git a/go/packages/golist_overlay.go b/go/packages/golist_overlay.go
index 874f901..885aec3 100644
--- a/go/packages/golist_overlay.go
+++ b/go/packages/golist_overlay.go
@@ -253,7 +253,7 @@
 	return modifiedPkgs, needPkgs, err
 }
 
-// resolveImport finds the the ID of a package given its import path.
+// resolveImport finds the ID of a package given its import path.
 // In particular, it will find the right vendored copy when in GOPATH mode.
 func (state *golistState) resolveImport(sourceDir, importPath string) (string, error) {
 	env, err := state.getEnv()
diff --git a/godoc/redirect/redirect_test.go b/godoc/redirect/redirect_test.go
index 804bfb0..756c0d0 100644
--- a/godoc/redirect/redirect_test.go
+++ b/godoc/redirect/redirect_test.go
@@ -68,7 +68,7 @@
 		"/cl/152047": {302, "https://go-review.googlesource.com/152047"},
 		"/cl/152048": {302, "https://codereview.appspot.com/152048"},
 
-		// And verify we're using the the "bigEnoughAssumeRietveld" value:
+		// And verify we're using the "bigEnoughAssumeRietveld" value:
 		"/cl/299999": {302, "https://go-review.googlesource.com/299999"},
 		"/cl/300000": {302, "https://codereview.appspot.com/300000"},
 	}
diff --git a/gopls/integration/govim/cloudbuild.yaml b/gopls/integration/govim/cloudbuild.yaml
index aecfd53..5efc93b 100644
--- a/gopls/integration/govim/cloudbuild.yaml
+++ b/gopls/integration/govim/cloudbuild.yaml
@@ -6,7 +6,7 @@
 # instructions on how to use this.
 
 substitutions:
-  # This bucket must be owned by the the GCP project executing the build. If
+  # This bucket must be owned by the GCP project executing the build. If
   # you are running this from your own project, override using --substitutions.
   _RESULT_BUCKET: 'golang-gopls_integration_tests'
 
diff --git a/internal/lsp/cache/check.go b/internal/lsp/cache/check.go
index 7bea132..2a6210c 100644
--- a/internal/lsp/cache/check.go
+++ b/internal/lsp/cache/check.go
@@ -33,7 +33,7 @@
 
 	goFiles, compiledGoFiles []*parseGoHandle
 
-	// mode is the mode the the files were parsed in.
+	// mode is the mode the files were parsed in.
 	mode source.ParseMode
 
 	// m is the metadata associated with the package.
diff --git a/internal/lsp/protocol/tsprotocol.go b/internal/lsp/protocol/tsprotocol.go
index 13d40c5..5d1c0a0 100644
--- a/internal/lsp/protocol/tsprotocol.go
+++ b/internal/lsp/protocol/tsprotocol.go
@@ -1556,13 +1556,13 @@
 	Deprecated bool `json:"deprecated,omitempty"`
 	/**
 	 * The range enclosing this symbol not including leading/trailing whitespace but everything else
-	 * like comments. This information is typically used to determine if the the clients cursor is
+	 * like comments. This information is typically used to determine if the clients cursor is
 	 * inside the symbol to reveal in the symbol in the UI.
 	 */
 	Range Range `json:"range"`
 	/**
 	 * The range that should be selected and revealed when this symbol is being picked, e.g the name of a function.
-	 * Must be contained by the the `range`.
+	 * Must be contained by the `range`.
 	 */
 	SelectionRange Range `json:"selectionRange"`
 	/**
@@ -2188,7 +2188,7 @@
 	TargetRange Range `json:"targetRange"`
 	/**
 	 * The range that should be selected and revealed when this link is being followed, e.g the name of a function.
-	 * Must be contained by the the `targetRange`. See also `DocumentSymbol#range`
+	 * Must be contained by the `targetRange`. See also `DocumentSymbol#range`
 	 */
 	TargetSelectionRange Range `json:"targetSelectionRange"`
 }
diff --git a/internal/lsp/source/completion/completion_package.go b/internal/lsp/source/completion/completion_package.go
index d18e2f8..f9d30d5 100644
--- a/internal/lsp/source/completion/completion_package.go
+++ b/internal/lsp/source/completion/completion_package.go
@@ -204,7 +204,7 @@
 }
 
 // packageSuggestions returns a list of packages from workspace packages that
-// have the given prefix and are used in the the same directory as the given
+// have the given prefix and are used in the same directory as the given
 // file. This also includes test packages for these packages (<pkg>_test) and
 // the directory name itself.
 func packageSuggestions(ctx context.Context, snapshot source.Snapshot, fileURI span.URI, prefix string) ([]candidate, error) {