summaryrefslogtreecommitdiff
path: root/Documentation/git-update-ref.txt
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2018-10-15 02:47:06 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-16 12:59:57 +0900
commit564be791f33a72d28497420dafbd3b272b9a1380 (patch)
tree15e33c63d5997744820bc52bb5fbf38c665eceb6 /Documentation/git-update-ref.txt
parentgetpwuid(mingw): initialize the structure only once (diff)
downloadtgif-564be791f33a72d28497420dafbd3b272b9a1380.tar.xz
getpwuid(mingw): provide a better default for the user name
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-update-ref.txt')
0 files changed, 0 insertions, 0 deletions