You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
When I open a file in the Atom editor while the Git panel is open, sometimes the Git Identity panel appears with no values set for my name/email even though these values were set in my global git config. When this happens, my global settings have been removed.
For example, prior to opening a file in the editor I see this in a terminal window:
Then in Atom I open a file in a repository I haven't used yet in the Atom session and the Git Identity panel appears without any data in it. I then run the command again and see my config has been modified improperly:
> git config --global -l
user.name=
user.email=
The user.name and user.email values are set to empty strings! This doesn't happen if I've edited something in that repository already, and doesn't always happen, but often enough that I'm concerned why Atom (git handling in particular) is making ANY changes to my global git settings. It should not!
Expected behavior:
My git identity set in global config should be used without modifying it.
Actual behavior:
My data is present but not used. But what's worse - it clears out my global data.
Reproduces how often:
100% when opening a file in a repository that hasn't been worked in yet in the session
Versions
Atom : 1.54.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0
MacOS Big Sur version 11.2.1
Additional Information
The text was updated successfully, but these errors were encountered:
Duplicate of #2622, #2628, #2557 and probably a few others that I can't find right now. Already fixed by #2587. The latest package version lets you choose explicitly:
This will be in the next Atom release. Try switching to Atom Nightly if you want this behavior sooner rather than later!
Prerequisites
Description
When I open a file in the Atom editor while the Git panel is open, sometimes the Git Identity panel appears with no values set for my name/email even though these values were set in my global git config. When this happens, my global settings have been removed.
For example, prior to opening a file in the editor I see this in a terminal window:
Then in Atom I open a file in a repository I haven't used yet in the Atom session and the Git Identity panel appears without any data in it. I then run the command again and see my config has been modified improperly:
The
user.name
anduser.email
values are set to empty strings! This doesn't happen if I've edited something in that repository already, and doesn't always happen, but often enough that I'm concerned why Atom (git handling in particular) is making ANY changes to my global git settings. It should not!Expected behavior:
My git identity set in global config should be used without modifying it.
Actual behavior:
My data is present but not used. But what's worse - it clears out my global data.
Reproduces how often:
100% when opening a file in a repository that hasn't been worked in yet in the session
Versions
Atom : 1.54.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0
MacOS Big Sur version 11.2.1
Additional Information
The text was updated successfully, but these errors were encountered: