mingw: provide details about unsafe directories' ownership
commite883e04b68ba7393029bcbeaa2aacb3dff5d3fbd
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 8 Aug 2022 13:27:48 +0000 (8 13:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Aug 2022 16:29:29 +0000 (8 09:29 -0700)
tree11789e440efe995c2edc76987b2c75f3fd748fb3
parent17d3883fe9c88b823002ad9fafb42313ddc3d3d5
mingw: provide details about unsafe directories' ownership

When Git refuses to use an existing repository because it is owned by
someone else than the current user, it can be a bit tricky on Windows to
figure out what is going on.

Let's help with that by providing more detailed information.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c