diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-05-28 13:03:00 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-28 13:03:00 +0900 |
commit | 329d63e7be044524d29dcb43e8ed52bc1f3b9241 (patch) | |
tree | 141d0ee7461cc3ac3be7c93dcdb7199714e71120 | |
parent | Merge branch 'ab/pack-linkage-fix' (diff) | |
parent | dir: introduce readdir_skip_dot_and_dotdot() helper (diff) | |
download | tgif-329d63e7be044524d29dcb43e8ed52bc1f3b9241.tar.xz |
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"
-rw-r--r-- | dir.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |