diff options
author | Derrick Stolee <stolee@gmail.com> | 2021-05-12 17:28:21 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-13 08:45:03 +0900 |
commit | 4e689d81718eb6e939cace317ea3e33cb994dcbb (patch) | |
tree | 1bb0c3c0aca95201393debdba3b58602f1167027 /t/t4034/python/pre | |
parent | dir: traverse into untracked directories if they may have ignored subfiles (diff) | |
download | tgif-4e689d81718eb6e939cace317ea3e33cb994dcbb.tar.xz |
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 't/t4034/python/pre')
0 files changed, 0 insertions, 0 deletions