Skip to content

Commit f1a7082

Browse files
aspiersgitster
authored andcommitted
api-directory-listing.txt: update to match code
7c4c97c turned the flags in struct dir_struct into a single bitfield variable, but forgot to update this document. Signed-off-by: Adam Spiers <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 82dce99 commit f1a7082

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/technical/api-directory-listing.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ options are:
1717
The name of the file to be read in each directory for excluded
1818
files (typically `.gitignore`).
1919

20-
`collect_ignored`::
20+
`flags`::
2121

22-
Include paths that are to be excluded in the result.
22+
A bit-field of options:
2323

24-
`show_ignored`::
24+
`DIR_SHOW_IGNORED`:::
2525

2626
The traversal is for finding just ignored files, not unignored
2727
files.
2828

29-
`show_other_directories`::
29+
`DIR_SHOW_OTHER_DIRECTORIES`:::
3030

3131
Include a directory that is not tracked.
3232

33-
`hide_empty_directories`::
33+
`DIR_HIDE_EMPTY_DIRECTORIES`:::
3434

3535
Do not include a directory that is not tracked and is empty.
3636

37-
`no_gitlinks`::
37+
`DIR_NO_GITLINKS`:::
3838

3939
If set, recurse into a directory that looks like a git
4040
directory. Otherwise it is shown as a directory.

0 commit comments

Comments
 (0)