]> git.ipfire.org Git - thirdparty/git.git/commit - dir.c
dir: restructure in a way to avoid passing around a struct dirent
authorJeff King <peff@peff.net>
Thu, 16 Jan 2020 20:21:55 +0000 (20:21 +0000)
committerJunio C Hamano <gitster@pobox.com>
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 <peff@peff.net>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c