summaryrefslogtreecommitdiff
path: root/builtin/check-attr.c
diff options
context:
space:
mode:
authorLibravatar Pat Thoyts <patthoyts@users.sourceforge.net>2011-10-15 15:05:20 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-15 20:14:39 -0700
commit13d24b018f348401cceca45da5c0dd6d17411268 (patch)
tree9569fe30551a57e7b69a29128b37a3da4bf95725 /builtin/check-attr.c
parentmergetools: use the correct tool for Beyond Compare 3 on Windows (diff)
downloadtgif-13d24b018f348401cceca45da5c0dd6d17411268.tar.xz
mingw: ensure sockets are initialized before calling gethostname
If the Windows sockets subsystem has not been initialized yet then an attempt to get the hostname returns an error and prints a warning to the console. This solves this issue for msysGit as seen with 'git fetch'. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/check-attr.c')
0 files changed, 0 insertions, 0 deletions