Merge branch 'en/dir-traversal'

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-28 13:03:00 +09:00
Родитель 5afd72a96f 906fc557b7
Коммит 329d63e7be
1 изменённых файлов: 1 добавлений и 2 удалений

3
dir.c
Просмотреть файл

@ -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;