forked from qt-creator/qt-creator
Remove spaces in initializer lists
Format initializer lists code style like. Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -743,7 +743,7 @@ void GitPlugin::undoFileChanges(bool revertStaging)
|
||||
const VcsBasePluginState state = currentState();
|
||||
QTC_ASSERT(state.hasFile(), return);
|
||||
FileChangeBlocker fcb(state.currentFile());
|
||||
m_gitClient->revert({ state.currentFile() }, revertStaging);
|
||||
m_gitClient->revert({state.currentFile()}, revertStaging);
|
||||
}
|
||||
|
||||
class ResetItemDelegate : public LogItemDelegate
|
||||
@@ -858,7 +858,7 @@ void GitPlugin::unstageFile()
|
||||
{
|
||||
const VcsBasePluginState state = currentState();
|
||||
QTC_ASSERT(state.hasFile(), return);
|
||||
m_gitClient->synchronousReset(state.currentFileTopLevel(), { state.relativeCurrentFile() });
|
||||
m_gitClient->synchronousReset(state.currentFileTopLevel(), {state.relativeCurrentFile()});
|
||||
}
|
||||
|
||||
void GitPlugin::gitkForCurrentFile()
|
||||
|
Reference in New Issue
Block a user