git status: skip empty directories, and add -u to show all untracked files
authorMatthias Lederhofer <matled@gmx.net>
Mon, 22 May 2006 21:02:06 +0000 (23:02 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 23 May 2006 07:36:51 +0000 (00:36 -0700)
commit443f8338b9e248353a7095a1096684f1ed106c66
tree6be399835e5de5aecd5b735bd9bce086dc87af26
parent4adcea995e97361d0900aaf27c60fad0b03b9ad1
git status: skip empty directories, and add -u to show all untracked files

By default, we use --others --directory to show uninteresting
directories (to get user's attention) without their contents (to
unclutter output).  Showing empty directories do not make sense,
so pass --no-empty-directory when we do so.

Giving -u (or --untracked) disables this uncluttering to let the
user get all untracked files.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh