Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Bug when password refused #1203

Open
Open
@VB-is-Terrible

Description

@VB-is-Terrible

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

  1. (Pre) Have a atom open in git repo, with commits to push
  2. Push
  3. 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:
atom-pre
Password box:
atom-password-box
After:
atom-freeze
The spinner spins for a while, then stops spinning, but keeps the cycle icon

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions