Bug when password refused #1203
Description
Description
The git module hangs when a password is requested, but not given
Steps to Reproduce
edit from @rsese: make sure credential caching is disabled if necessary so you're prompted for username/password
- (Pre) Have a atom open in git repo, with commits to push
- Push
- When atom requests a password, either press escape or click the cancel button (appears twice for me)
Expected behavior:
The git module continues working
Actual behavior:
The git module hangs. No git diffs are generated, changes cannot be added to the staged commit, no changes are detected in the git panel.
Reproduces how often:
100%
Versions
Atom : 1.21.0
Electron: 1.6.9
Chrome : 56.0.2924.87
Node : 7.4.0
And the beta:
Atom : 1.22.0-beta0
Electron: 1.6.9
Chrome : 56.0.2924.87
Node : 7.4.0
OS: Ubuntu 17.04 (linux)
Additional Information
Relevant parts of my .gitconfig:
[credential]
helper = cache
help = cache --timeout=3600
[url "https://[email protected]"]
insteadOf = https://github.com
Before steps:
Password box:
After:
The spinner spins for a while, then stops spinning, but keeps the cycle icon