forked from qt-creator/qt-creator
VCS: Simplify promptSubmit a bit more
+ fix regression for Git, which allowed to commit invalid commits.
Amends commit 9b61e484be
.
Change-Id: I7571863bb982bfae1aa040e08f8c68010b14b147
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
54604b56db
commit
890b85d17e
@@ -137,6 +137,8 @@ public:
|
||||
virtual QString commitDisplayName() const;
|
||||
|
||||
void commitFromEditor();
|
||||
virtual bool canCommitOnFailure() const { return true; }
|
||||
bool submitActionTriggered() const { return m_submitActionTriggered; }
|
||||
|
||||
protected:
|
||||
// Prompt to save all files before commit:
|
||||
|
Reference in New Issue
Block a user