Provide a useful default user ident on Windows
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | getpwuid(mingw): initialize the structure only oncecompat/ | +18 | 1 reply | |
| 2/3 | getpwuid(mingw): provide a better default for the user namecompat/ | +31 | 4 replies | |
| 3/3 | mingw: use domain information for default emailcompat/ compat/ git-compat-util.h +1 more | +14 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Provide a useful default user ident on Windows
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.
Johannes Schindelin (3):
getpwuid(mingw): initialize the structure only once getpwuid(mingw): provide a better default for the user name
mingw: use domain information for default email
compat/mingw.c | 60 +++++++++++++++++++++++++++++++++++++++++------ compat/mingw.h | 2 ++ git-compat-util.h | 4 ++++ ident.c | 3 +++ 4 files changed, 62 insertions(+), 7 deletions(-)
base-commit: 5a0cc8aca797dbd7d2be3b67458ff880ed45cddf
Published-As: https://github.com/gitgitgadget/git/releases/tags/pr-45%2Fdscho%2Fdefault-ident-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-45/dscho/default-ident-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/45
Signature · 1 line
gitgitgadget