aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/commitdata.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2012-03-13 21:38:51 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2012-03-14 11:18:18 +0100
commit6a3f9460d71376236c5d00dfce0d568ad92b83c7 (patch)
tree4659b2d4c14f9d36601674aa3d2eeb44e4f947cd /src/plugins/git/commitdata.cpp
parent63f0c0a62f6ee95d1919bf29b0d56da924021ae3 (diff)
Git: Enable --no-verify for commit
Change-Id: I88cfb7839b41467e3f6b25bea329eb15765e440e Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/git/commitdata.cpp')
-rw-r--r--src/plugins/git/commitdata.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/git/commitdata.cpp b/src/plugins/git/commitdata.cpp
index dc485e1410f..b18e9c6e530 100644
--- a/src/plugins/git/commitdata.cpp
+++ b/src/plugins/git/commitdata.cpp
@@ -58,6 +58,7 @@ void GitSubmitEditorPanelData::clear()
{
author.clear();
email.clear();
+ bypassHooks = false;
}
QString GitSubmitEditorPanelData::authorString() const
@@ -76,7 +77,8 @@ QString GitSubmitEditorPanelData::authorString() const
QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &data)
{
- d.nospace() << " author:" << data.author << " email: " << data.email;
+ d.nospace() << " author:" << data.author << " email: " << data.email
+ << " bypass hooks: " << data.bypassHooks;
return d;
}