forked from qt-creator/qt-creator
Git: Enable --no-verify for commit
Change-Id: I88cfb7839b41467e3f6b25bea329eb15765e440e Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
63f0c0a62f
commit
6a3f9460d7
@@ -1874,6 +1874,8 @@ bool GitClient::addAndCommit(const QString &repositoryDirectory,
|
||||
const QString &authorString = data.authorString();
|
||||
if (!authorString.isEmpty())
|
||||
args << QLatin1String("--author") << authorString;
|
||||
if (data.bypassHooks)
|
||||
args << QLatin1String("--no-verify");
|
||||
|
||||
QByteArray outputText;
|
||||
QByteArray errorText;
|
||||
|
||||
Reference in New Issue
Block a user