This repository was archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 406
Opening Git tab sets global user.emailΒ #2557
Copy link
Copy link
Closed
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=β&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Whenever I open the Git tab (using Ctrl-9), Atom sets the global user.email
configuration. I have explicitly not set it to prompt me per-repository (in combination with useConfigOnly
). It seems to be set to the per-repository value of the current repository.
This seems to be due to https://github.com/atom/github/blob/master/lib/controllers/git-tab-controller.js#L374-L376 if I am reading that part correctly.
Steps to Reproduce
- Unset global
user.email
- Open Git tab
Expected behavior:
Atom does not touch my global Git configuration.
Actual behavior:
Atom modifies my global Git configuration.
Reproduces how often:
100%
Versions
Atom : 1.53.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0
cvande04, yongrongwang, bfis, martinburger and nasedil
Metadata
Metadata
Assignees
Labels
No labels