dir: restructure in a way to avoid passing around a struct dirent
authorJeff King <redacted>
Thu, 16 Jan 2020 20:21:55 +0000 (20:21 +0000)
committerJunio C Hamano <redacted>
Thu, 16 Jan 2020 20:56:13 +0000 (12:56 -0800)
commitad6f2157f951dc2ffeb7a01f090686f0bbb06f7a
tree69802a12d74811a56c7dd88f2c53e7f36e520622
parent22705334b91275563c48f38a52d1643a14e5507b
dir: restructure in a way to avoid passing around a struct dirent

Restructure the code slightly to avoid passing around a struct dirent
anywhere, which also enables us to avoid trying to manufacture one.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
dir.c
git clone https://git.99rst.org/PROJECT