The walk's steps for one listed directory (directory relative to the
worktree's top level, rootDirectory for the top level itself).
Below the top level, a .git entry of any kind makes the directory a
nested repository, and the walk goes no further. Otherwise each
subdirectory is walked, each special file is recorded, and regular
files and links need nothing. A step asks git first unless its path is
kept; a subdirectory not listed as ignored is walked without asking.
The walk's steps for one listed directory (
directoryrelative to the worktree's top level, rootDirectory for the top level itself). Below the top level, a.gitentry of any kind makes the directory a nested repository, and the walk goes no further. Otherwise each subdirectory is walked, each special file is recorded, and regular files and links need nothing. A step asks git first unless its path is kept; a subdirectory not listed as ignored is walked without asking.