]> Cypherpunks repositories - gostls13.git/commit
cmd/go: revert "remove unnecessary else conditions"
authorRuss Cox <rsc@golang.org>
Tue, 13 Nov 2018 15:15:02 +0000 (15:15 +0000)
committerRuss Cox <rsc@golang.org>
Tue, 13 Nov 2018 15:15:18 +0000 (15:15 +0000)
commit8f7173dcdeb1a1c8af885bb2a267674b4f5fbfc4
treefac817150c2810de7fb04d7c1e770152de51430d
parente51b19a993efa61b7d8f8d2828d9ee95ea82c98c
cmd/go: revert "remove unnecessary else conditions"

This reverts CL 144137.

Reason for revert: The justification for the original commit
was that golint said so, but golint is wrong. The code reads
more clearly the original way.

Change-Id: I960f286ed66fec67aabd953e7b69993f60b00bca
Reviewed-on: https://go-review.googlesource.com/c/149339
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/internal/semver/semver.go