forked from qt-creator/qt-creator
Fixes: Using a git configuration with colored output breaks much of the git plugin.
Task: 248067 Details: Use --no-color where appropriate. Use a hack to remove color sequences from output for "status" since it does not support the option as of git 1.6.2.
This commit is contained in:
@@ -50,6 +50,10 @@ public:
|
||||
void addJob(const QStringList &arguments, int timeout);
|
||||
void execute();
|
||||
|
||||
// Clean output from carriage return and ANSI color codes.
|
||||
// Workaround until all relevant commands support "--no-color".
|
||||
static void removeColorCodes(QByteArray *data);
|
||||
|
||||
private:
|
||||
void run();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user