forked from qt-creator/qt-creator
Git: Open log for ranges in output window
Show doesn't make much sense. Change-Id: I945910749fa99245469164c1a411ce39b9f4f3d4 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
710836f222
commit
b2ceb7db79
@@ -982,7 +982,10 @@ GitPluginPrivate::GitPluginPrivate()
|
||||
this, [this](const QString &name) {
|
||||
const VcsBasePluginState state = currentState();
|
||||
QTC_ASSERT(state.hasTopLevel(), return);
|
||||
m_gitClient.show(state.topLevel(), name);
|
||||
if (name.contains(".."))
|
||||
m_gitClient.log(state.topLevel(), {}, false, {name});
|
||||
else
|
||||
m_gitClient.show(state.topLevel(), name);
|
||||
});
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user