mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
getpwuid() is kept as simple as possible so that no errors are generated. Since the information that it returns is not very useful, users are still required to set up user.name and user.email configuration. All uses of getpwuid() are like getpwuid(getuid()), hence, the return value of getpwuid() is irrelevant. getpwnam() is only used to resolve '~' and '~username' paths, which is an idiom not known on Windows, hence, we don't implement it, either. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>