Commit bdd5d6e2 authored by Russ Cox's avatar Russ Cox

cmd/go: tiny cleanup

Change-Id: I65084e518c735f1e50d191a612cd32533b241685
Reviewed-on: https://go-review.googlesource.com/17742Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 0c428a56
......@@ -87,7 +87,7 @@ func runGet(cmd *Command, args []string) {
// If user has explicitly set GIT_TERMINAL_PROMPT=1, keep
// prompting.
// See golang.org/issue/9341 and golang.org/issue/12706.
if v := os.Getenv("GIT_TERMINAL_PROMPT"); v == "" {
if os.Getenv("GIT_TERMINAL_PROMPT") == "" {
os.Setenv("GIT_TERMINAL_PROMPT", "0")
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment