Fixes: add timeout value to git plugin

RevBy:    tba
Details:  - as on windows some git commands take much longer it happens fairly often, that git timeouts.
          - added a timeout value to the option to let the user choose maximum timeout value (minimum is 10 seconds, maximum 5 minutes)
This commit is contained in:
lowinu
2009-02-13 12:52:01 +01:00
parent ae7864f9c0
commit b6c15d1ba9
7 changed files with 48 additions and 22 deletions

View File

@@ -49,7 +49,7 @@ public:
ProjectExplorer::Environment &environment);
void addJob(const QStringList &arguments);
void addJob(const QStringList &arguments, int timeout);
void execute();
private:
@@ -61,9 +61,10 @@ Q_SIGNALS:
private:
struct Job {
explicit Job(const QStringList &a);
explicit Job(const QStringList &a, int t);
QStringList arguments;
int timeout;
};
QStringList environment() const;