Code

Improve "nothing to commit" part of status output
authorJürgen Rühle <j-r@online.de>
Tue, 2 Jan 2007 19:26:22 +0000 (20:26 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 3 Jan 2007 07:43:21 +0000 (23:43 -0800)
commit6e458bf63f48fb7d15cb70ad7c7b7b71915d94a2
treeccafd1c9a2159250884a910b12b748bd1da3a3ca
parente54eef9e1f8adb055c7bbe0e4f50a3716f611dcf
Improve "nothing to commit" part of status output

Previously git-status in a clean working directory would advice the user to use
git add. This isn't very helpful when there is nothing to add in the working
directory, therefore note a clean working directory while displaying the other
sections and print the appropriate message for each case.

Signed-off-by: Jürgen Rühle <j-r@online.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
wt-status.c
wt-status.h