diff options
author | Derrick Stolee <stolee@gmail.com> | 2021-05-12 20:28:21 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-13 02:45:03 +0300 |
commit | 4e689d81718eb6e939cace317ea3e33cb994dcbb (patch) | |
tree | 1bb0c3c0aca95201393debdba3b58602f1167027 /dir.h | |
parent | dd55fc0df15c338a8dbec6dec6ca6b58edc8acef (diff) |
dir: update stale description of treat_directory()
The documentation comment for treat_directory() was originally written
in 095952 (Teach directory traversal about subprojects, 2007-04-11)
which was before the 'struct dir_struct' split its bitfield of named
options into a 'flags' enum in 7c4c97c0 (Turn the flags in struct
dir_struct into a single variable, 2009-02-16). When those flags
changed, the comment became stale, since members like
'show_other_directories' transitioned into flags like
DIR_SHOW_OTHER_DIRECTORIES.
Update the comments for treat_directory() to use these flag names rather
than the old member names.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.h')
0 files changed, 0 insertions, 0 deletions