Skip to content

Commit

Permalink
api-directory-listing.txt: update to match code
Browse files Browse the repository at this point in the history
7c4c97c turned the flags in struct dir_struct into a single bitfield
variable, but forgot to update this document.

Signed-off-by: Adam Spiers <git@adamspiers.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Adam Spiers authored and Junio C Hamano committed Dec 28, 2012
1 parent 82dce99 commit f1a7082
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Documentation/technical/api-directory-listing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ options are:
The name of the file to be read in each directory for excluded
files (typically `.gitignore`).

`collect_ignored`::
`flags`::

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

`show_ignored`::
`DIR_SHOW_IGNORED`:::

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

`show_other_directories`::
`DIR_SHOW_OTHER_DIRECTORIES`:::

Include a directory that is not tracked.

`hide_empty_directories`::
`DIR_HIDE_EMPTY_DIRECTORIES`:::

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

`no_gitlinks`::
`DIR_NO_GITLINKS`:::

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

0 comments on commit f1a7082

Please sign in to comment.