Git: Fix misleading status message.

Reviewed-by: Friedemann Kleint
This commit is contained in:
ck
2010-07-02 13:17:42 +02:00
parent 161e03227b
commit 07c83490cf

View File

@@ -172,7 +172,7 @@ void GitCommand::run()
// Special hack: Always produce output for diff
if (ok && stdOut.isEmpty() && m_jobs.front().arguments.at(0) == QLatin1String("diff")) {
stdOut += "The file does not differ from HEAD";
stdOut += "No difference to HEAD";
} else {
// @TODO: Remove, see below
if (ok && m_jobs.front().arguments.at(0) == QLatin1String("status"))