author | Jürgen Rühle <j-r@online.de> | |
Wed, 10 Jan 2007 22:25:03 +0000 (23:25 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 10 Jan 2007 22:29:21 +0000 (14:29 -0800) | ||
commit | 2a3a3c247e7f1f257e9c6762e48b98f08a30011a | |
tree | e064d2866b05b459112eb8054ed9faf241625ce4 | tree | snapshot |
parent | ccd14e569dcfe1a83b33f84fad8cfed68676ef5d | commit | diff |
Provide better feedback for the untracked only case in status output
Since 98bf8a47c296f51ea9722fef4bb81dbfb70cd4bb status would claim that
git-commit could be useful even if there are no changes except untracked files.
Since wt-status is already computing all the information needed go the whole
way and actually track the (non-)emptiness of all three sections separately,
unify the code, and provide useful messages for each individual case.
Thanks to Junio and Michael Loeffler for suggestions.
Signed-off-by: Jürgen Rühle <j-r@online.de>
Since 98bf8a47c296f51ea9722fef4bb81dbfb70cd4bb status would claim that
git-commit could be useful even if there are no changes except untracked files.
Since wt-status is already computing all the information needed go the whole
way and actually track the (non-)emptiness of all three sections separately,
unify the code, and provide useful messages for each individual case.
Thanks to Junio and Michael Loeffler for suggestions.
Signed-off-by: Jürgen Rühle <j-r@online.de>
wt-status.c | diff | blob | history | |
wt-status.h | diff | blob | history |