Skip to content

Commit

Permalink
Fix bug with operator precendence
Browse files Browse the repository at this point in the history
(cherry picked from commit 2192d19)
ref #18066
  • Loading branch information
omus authored and tkelman committed Aug 20, 2016
1 parent 24c98c2 commit edcd7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/libgit2/callbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function authenticate_userpass(creds::UserPasswordCredentials, libgit2credptr::P
urlusername : username)
userpass = prompt("Password for '$schema$username@$host'", password=true)
end
(creds.user != username) || (creds.pass != userpass) && reset!(creds)
((creds.user != username) || (creds.pass != userpass)) && reset!(creds)
creds.user = username # save credentials
creds.pass = userpass # save credentials

Expand Down

0 comments on commit edcd7f9

Please sign in to comment.