summaryrefslogtreecommitdiff
path: root/src/plugins/git/gitcommand.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2011-10-05 10:19:40 +0000
committerTobias Hunger <tobias.hunger@nokia.com>2011-10-05 16:01:47 +0200
commit35615426d1c538a4c25e18721f9573b03af1350f (patch)
tree94ca6c9f4152832d1e3a57205f4c1b18aa9fd21a /src/plugins/git/gitcommand.cpp
parent66f9d21e167dcdc2abb8f27ad29eaabd99d8f950 (diff)
downloadqt-creator-35615426d1c538a4c25e18721f9573b03af1350f.tar.gz
Git: Remove debug code
Change-Id: Icf23c7c3c1c8858d281434f519accc96984cdd09 Reviewed-on: http://codereview.qt-project.org/6069 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/git/gitcommand.cpp')
-rw-r--r--src/plugins/git/gitcommand.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/git/gitcommand.cpp b/src/plugins/git/gitcommand.cpp
index 3a07abda0c..b50abb8196 100644
--- a/src/plugins/git/gitcommand.cpp
+++ b/src/plugins/git/gitcommand.cpp
@@ -111,9 +111,6 @@ void GitCommand::addJob(const QStringList &arguments, int timeout)
void GitCommand::execute()
{
- if (Git::Constants::debug)
- qDebug() << "GitCommand::execute" << m_workingDirectory << m_jobs.size();
-
if (m_jobs.empty())
return;
@@ -132,10 +129,6 @@ QString GitCommand::msgTimeout(int seconds)
void GitCommand::run()
{
- if (Git::Constants::debug)
- qDebug() << "GitCommand::run" << m_workingDirectory << m_jobs.size()
- << "terminal_disabled" << m_unixTerminalDisabled;
-
const unsigned processFlags = m_unixTerminalDisabled ?
unsigned(Utils::SynchronousProcess::UnixTerminalDisabled) :
unsigned(0);
@@ -154,9 +147,6 @@ void GitCommand::run()
int exitCode = -1;
bool ok = true;
for (int j = 0; j < count; j++) {
- if (Git::Constants::debug)
- qDebug() << "GitCommand::run" << j << '/' << count << m_jobs.at(j).arguments;
-
process->start(m_binaryPath, m_jobs.at(j).arguments);
if (!process->waitForStarted()) {
ok = false;