diff options
author | Derrick Stolee <stolee@gmail.com> | 2021-05-27 04:53:55 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-27 14:02:37 +0900 |
commit | eef814828f175290ca1fcd17ad74faff95346c85 (patch) | |
tree | 1bb0c3c0aca95201393debdba3b58602f1167027 /t/t7413-submodule-is-active.sh | |
parent | Revert "dir: update stale description of treat_directory()" (diff) | |
download | tgif-eef814828f175290ca1fcd17ad74faff95346c85.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>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7413-submodule-is-active.sh')
0 files changed, 0 insertions, 0 deletions