]> git.ipfire.org Git - thirdparty/git.git/commit
mingw: teach dirent about symlinks
authorKarsten Blees <karsten.blees@gmail.com>
Fri, 9 Jan 2026 20:05:02 +0000 (20:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 10 Jan 2026 02:32:55 +0000 (18:32 -0800)
commit8a4f4131aad8d2b176f83df628ee3a8d6e19ba6c
treeba2629615da4aa9f90a5746c9ed8fb308c056a79
parent2c37842ff97c28876e980f1829bc732c98dcde14
mingw: teach dirent about symlinks

Move the `S_IFLNK` detection to `file_attr_to_st_mode()`.

Implement `DT_LNK` detection in dirent.c's `readdir()` function.

Signed-off-by: Karsten Blees <karsten.blees@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c
compat/win32.h
compat/win32/dirent.c