From 7686693e437fdf5d707534a50d8c5f36db160962 Mon Sep 17 00:00:00 2001 From: Peter Bourgon Date: Wed, 4 Jan 2017 13:30:02 +0100 Subject: [PATCH] Further review feedback re: overrides --- ensure.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ensure.go b/ensure.go index bd92ee3543..26bc5630c1 100644 --- a/ensure.go +++ b/ensure.go @@ -65,7 +65,9 @@ dep ensure github.com/pkg/foo:git.internal.com/alt/foo dep ensure -override github.com/pkg/foo@^1.0.1 Forcefully and transitively override any constraint for this dependency. - This can inadvertantly make your dependency graph unsolvable; use sparingly. + Overrides are powerful, but they are harmful over the long term. They should + be used as a last resort, especially if your project will be imported by + others. ` func (cmd *ensureCommand) Name() string { return "ensure" }