question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

2.3.2 beta 4 changed my git name to my github username

See original GitHub issue

Describe the bug

Upgrading from 2.3.2-beta3 to 2.3.2-beta4 changed my name from Brian Surowiec to xt0rted. I noticed this after updating and rebasing, now all the changed commits say Brian surowiec authored and xt0rted committed.

Version & OS

  • 2.3.2-beta4
  • Windows 10

Steps to reproduce the behavior

  1. Start with a version prior to 2.3.2-beta4
  2. Under Git Options set your name
  3. Update to 2.3.2-beta4
  4. Look under Git Options and your name should be different

Expected behavior

Leave my name as-is

Actual behavior

Changed my name to my GitHub username without any warning or notice

Logs

Nothing in the log or devtools mentions this setting change

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
billygriffincommented, Mar 10, 2020

I think a better approach would be to remove the automatic pre-fill from the preferences dialog while still keeping it in the welcome flow. Those are my initial thoughts that I thought worth capturing for future reference.

I agree with this suggestion from @niik - I’m curious your thoughts @ampinsk. Basically the welcome flow would still prefill the Git info with your username and email from GitHub, but after that the preferences dialog doesn’t do anything special with those fields other than showing them and allowing you to change them manually if you so choose.

1reaction
niikcommented, Mar 10, 2020

@xt0rted Thanks so much for troubleshooting and getting back to us so quickly! While not ideal I believe this behavior has existed for a very long time. The overall implementation of falling back to the account login/name was introduced 3 years ago in https://github.com/desktop/desktop/commit/9aff0e6d655c3a8955e0dbda661143441d6e1cd4.

Given that this is a long-standing issue and given that I suspect that the use of config include directives are extremely rare among our users I don’t think this is something we should attempt to address for the next release.

Allow myself to solutionize for just a second however I’d say that while we could attempt to respect include directives either using the --include flag or by means of relying on --list plus --show-origin I fear such attempts will be brittle at best due to the complexity involved and I think a better approach would be to remove the automatic pre-fill from the preferences dialog while still keeping it in the welcome flow. Those are my initial thoughts that I thought worth capturing for future reference.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changing your GitHub username
You can change the username for your account on GitHub.com. ... If the username you want is not available, consider other names or...
Read more >
Chapter 6 GitHub/git Resources | edav.info, 2nd edition
This section describes workflows for working with GitHub/git and advice on how to ... If your GitHub username is person1 and you have...
Read more >
Git Plugin - Jenkins
View Git on the plugin site for more information. ... ssh://git@github.com/org-name/project-name.git; git@github.com:org-name/project.git (short notation ...
Read more >
Changes | EMQX 2.0 Documentation
Specify a fixed tag for the dependency libraries. ... Feature: EMQ node.name with link local ipv6 address not responding ... Version 2.3.2.
Read more >
unixODBC
Thanks for the change from the folks at Acision. Add -k option to isql to treat the DSN as a connection string and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found