]> git.ipfire.org Git - thirdparty/git.git/commit
mingw: drop the separate `do_lstat()` function
authorKarsten Blees <karsten.blees@gmail.com>
Fri, 9 Jan 2026 20:05:00 +0000 (20:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 10 Jan 2026 02:32:54 +0000 (18:32 -0800)
commit882e5e05282758c736bba4e719c5f6f626986fe7
treecbbff4feefc379112e06b0da1bfe7a67b54056c7
parent48bc5094de4d2c549efd82780d4488071955d4ff
mingw: drop the separate `do_lstat()` function

With the new `mingw_stat()` implementation, `do_lstat()` is only called
from `mingw_lstat()` (with the function parameter `follow == 0`). Remove
the extra function and the old `mingw_stat()`-specific (`follow == 1`)
logic.

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