ls-files -o: optionally skip showing the contents in "untracked" directories
commit9518eb262980d5048ef71e4450ef2cf78d7df6b5
authorLinus Torvalds <torvalds@osdl.org>
Wed, 4 Jan 2006 21:31:25 +0000 (4 13:31 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 8 Jan 2006 05:34:02 +0000 (7 21:34 -0800)
treef4dcffed9509398142d5f0766acd67ee61a099e8
parent03febf99bc77001af6709ee1c17d3dc5e71e8990
ls-files -o: optionally skip showing the contents in "untracked" directories

Darrin Thompson notes that git-ls-files -o reports all the unknown
files it finds in a work area.  Subversion and probably other systems
"simply ignore all the files and directories inside an unknown
directory and just note the directory as unknown."

With --directory option, ls-files --others shows untracked directories
without descending into them.

Signed-off-by: Junio C Hamano <junkio@cox.net>
ls-files.c