Title: Opening Git tab sets global user.email · Issue #2557 · atom/github · GitHub
Open Graph Title: Opening Git tab sets global user.email · Issue #2557 · atom/github
X Title: Opening Git tab sets global user.email · Issue #2557 · atom/github
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 s...
Open Graph 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/#u...
X 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/#u...
Opengraph URL: https://github.com/atom/github/issues/2557
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Opening Git tab sets global user.email","articleBody":"### Prerequisites\r\n\r\n* [X] Put an X between the brackets on this line if you have done all of the following:\r\n * Reproduced the problem in Safe Mode: \u003chttps://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode\u003e\r\n * Followed all applicable steps in the debugging guide: \u003chttps://flight-manual.atom.io/hacking-atom/sections/debugging/\u003e\r\n * Checked the FAQs on the message board for common solutions: \u003chttps://discuss.atom.io/c/faq\u003e\r\n * Checked that your issue isn't already filed: \u003chttps://github.com/issues?utf8=✓\u0026q=is%3Aissue+user%3Aatom\u003e\r\n * Checked that there is not already an Atom package that provides the described functionality: \u003chttps://atom.io/packages\u003e\r\n\r\n### Description\r\n\r\nWhenever 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.\r\n\r\nThis 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.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Unset global `user.email`\r\n2. Open Git tab\r\n\r\n**Expected behavior:**\r\n\r\nAtom does not touch my global Git configuration.\r\n\r\n**Actual behavior:**\r\n\r\nAtom modifies my global Git configuration.\r\n\r\n**Reproduces how often:**\r\n\r\n100%\r\n\r\n### Versions\r\n\r\nAtom : 1.53.0\r\nElectron: 6.1.12\r\nChrome : 76.0.3809.146\r\nNode : 12.4.0","author":{"url":"https://github.com/michaelkuhn","@type":"Person","name":"michaelkuhn"},"datePublished":"2020-11-11T21:52:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/2557/github/issues/2557"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8d50be0b-b3ef-fcb6-fe6a-07adc2267015 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C714:3A432B:1952BD6:22FEF5C:6A5F2F0C |
| html-safe-nonce | 6542b8773cbf59e4c9f2e56245926a5d0e2de9ffe12965a47ca319fc2a092c0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzE0OjNBNDMyQjoxOTUyQkQ2OjIyRkVGNUM6NkE1RjJGMEMiLCJ2aXNpdG9yX2lkIjoiNDE4Mzk5MzMyMjkwNTIxODgyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3efc3a89e4a00e9db2055f07cef0403bf15177b3c9b51182b580bacffb4637ad |
| hovercard-subject-tag | issue:741095685 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/atom/github/2557/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b0ca51da178a18bb795361b0472c8416f5e991129bd4c3bf410ca6dc6c387704/atom/github/issues/2557 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b0ca51da178a18bb795361b0472c8416f5e991129bd4c3bf410ca6dc6c387704/atom/github/issues/2557 |
| og:image:alt | 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/#u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | michaelkuhn |
| hostname | github.com |
| expected-hostname | github.com |
| None | af57322612a2efc3d6fee860947245ffbb465e4e3f9eb5dfefc0f770217aa0ca |
| turbo-cache-control | no-preview |
| go-import | github.com/atom/github git https://github.com/atom/github.git |
| octolytics-dimension-user_id | 1089146 |
| octolytics-dimension-user_login | atom |
| octolytics-dimension-repository_id | 46155786 |
| octolytics-dimension-repository_nwo | atom/github |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 46155786 |
| octolytics-dimension-repository_network_root_nwo | atom/github |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 93fabb5edc1b64676979fa226fed14ab56431f54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width