diff options
author | Jürgen Rühle <j-r@online.de> | 2007-01-02 20:26:22 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-02 23:43:21 -0800 |
commit | 6e458bf63f48fb7d15cb70ad7c7b7b71915d94a2 (patch) | |
tree | ccafd1c9a2159250884a910b12b748bd1da3a3ca /wt-status.h | |
parent | e54eef9e1f8adb055c7bbe0e4f50a3716f611dcf (diff) | |
download | git-6e458bf63f48fb7d15cb70ad7c7b7b71915d94a2.tar.gz |
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>
Diffstat (limited to 'wt-status.h')
-rw-r--r-- | wt-status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h index 0a5a5b7ba9..892a86c76a 100644 --- a/wt-status.h +++ b/wt-status.h @@ -16,6 +16,7 @@ struct wt_status { int verbose; int amend; int untracked; + int workdir_clean; }; int git_status_config(const char *var, const char *value); |