Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-05-28 07:03:00 +0300
committerJunio C Hamano <gitster@pobox.com>2021-05-28 07:03:00 +0300
commit329d63e7be044524d29dcb43e8ed52bc1f3b9241 (patch)
tree141d0ee7461cc3ac3be7c93dcdb7199714e71120 /dir.c
parent5afd72a96f0a3f65a832fd1448d9de1c534aaa69 (diff)
parent906fc557b70b2b2995785c9b37e212d2f86b469e (diff)
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"
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index b0876cd6d3..ebe5ec046e 100644
--- a/dir.c
+++ b/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;