Files
git/setup.c
Johannes Schindelin 7bfd7c63b6 fixup! Refuse to follow invalid paths in .git files
TortoiseGit actually compiles kind of a "libified" version of this,
where the `die()` calls are substituted with C++ `throw` constructs.
Therefore the (`static`, stays allocated even after returning from the
function) `realpath` actually _can_ be reused.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2026-06-29 19:03:24 +02:00

80 KiB