1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-14 20:56:14 +02:00

Merge branch 'en/dir-traversal' into next

Fix-up to a topic that is already in 'master'.

* en/dir-traversal:
  dir: introduce readdir_skip_dot_and_dotdot() helper
  dir: update stale description of treat_directory()
  Revert "dir: update stale description of treat_directory()"
  Revert "dir: introduce readdir_skip_dot_and_dotdot() helper"
This commit is contained in:
Junio C Hamano 2021-05-27 14:25:34 +09:00
commit 3e70b5a671

3
dir.c
View File

@ -59,8 +59,7 @@ void dir_init(struct dir_struct *dir)
memset(dir, 0, sizeof(*dir));
}
struct dirent *
readdir_skip_dot_and_dotdot(DIR *dirp)
struct dirent *readdir_skip_dot_and_dotdot(DIR *dirp)
{
struct dirent *e;