{"thread":{"id":"6236","subject":"[PATCH] wt-status: remove use_add_msg in wt_status_print","startedAt":"2007-01-05T21:30:21Z","lastAt":"2007-01-05T21:30:21Z","messageCount":1,"participants":["Michael Loeffler"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"30907","messageId":"1168032621.11130.36.camel@ibook.zvpunry.de","threadId":"6236","inReplyTo":null,"subject":"[PATCH] wt-status: remove use_add_msg in wt_status_print","fromName":"Michael Loeffler","fromEmail":"zvpunry@zvpunry.de","sentAt":"2007-01-05T21:30:21Z","receivedAt":"2007-01-05T21:30:21Z","isPatch":true,"sender":{"key":"zvpunry@zvpunry.de","avatar":null},"body":"If there is nothing to commit there is no need to say something about\nadding files.\n\nIf there is something to commit or untracked or modified files, git\nstatus will give this hint. In this case it is also redundant to say it\nagain.\n\nSigned-off-by: Michael Loeffler <zvpunry@zvpunry.de>\n---\n wt-status.c |    4 +---\n 1 files changed, 1 insertions(+), 3 deletions(-)\n\ndiff --git a/wt-status.c b/wt-status.c\nindex db42738..019ec46 100644\n--- a/wt-status.c\n+++ b/wt-status.c\n@@ -292,9 +292,7 @@ void wt_status_print(struct wt_status *s)\n \tif (s->verbose && !s->is_initial)\n \t\twt_status_print_verbose(s);\n \tif (!s->commitable)\n-\t\tprintf(\"%s (%s)\\n\",\n-\t\t\ts->amend ? \"# No changes\" : \"nothing to commit\",\n-\t\t\tuse_add_msg);\n+\t\tprintf(\"%s\\n\", s->amend ? \"# No changes\" : \"nothing to commit\");\n }\n \n int git_status_config(const char *k, const char *v)\n-- \n1.5.0.rc0.g1fa2\n"}]}