Repository navigation
Conversation
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
35 tasks done
Member
Author
|
/submit |
|
Submitted as pull.45.git.gitgitgadget@gmail.com |
We do have the excellent GetUserInfoEx() function to obtain more detailed information of the current user (if the user is part of a Windows domain); Let's use it. Suggested by Lutz Roeder. To avoid the cost of loading Secur32.dll (even lazily, loading DLLs takes a non-neglibile amount of time), we use the established technique to load DLLs only when, and if, needed. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
When a user is registered in a Windows domain, it is really easy to obtain the email address. So let's do that. Suggested by Lutz Roeder. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Member
Author
|
Found multiple candidates in gitster/git: Using the first one. |
Member
Author
|
This branch is now known as |
Member
Author
|
This patch series was integrated into pu via git@16ce0b9. |
Member
Author
|
This patch series was integrated into next via git@16ce0b9. |
Member
Author
|
This patch series was integrated into master via git@16ce0b9. |
Member
Author
|
Closed via 16ce0b9. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Linux, we use the gecos information to come up with a sensible user name/email. On Windows, there is no gecos. But there is something comparable, and with these patches, we use it.
This has been carried in Git for Windows for three years, and is considered mature.
Changes since v1:
statickeyword fromwbuffer: it does not need to persist.