Commit 398872bc authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Fix showing commits from rebase-todo editor

We used to need the repository root in order to resolve the file.

This is no longer needed, since the raw patch is parsed instead.

Change-Id: Ifdbbcd686a5ef7bbbd472f37b20190b9e9abebe7
Reviewed-by: default avatarTobias Hunger <>
parent cf211e46
......@@ -369,11 +369,8 @@ GitDiffEditorReloader::GitDiffEditorReloader(QObject *parent)
void GitDiffEditorReloader::reload()
const QString workingDirectory = m_diffType == DiffShow
? m_gitClient->findRepositoryForDirectory(m_workingDirectory)
: m_workingDirectory;
GitDiffHandler *handler = new GitDiffHandler(diffEditorController(),
connect(handler, SIGNAL(destroyed()), this, SLOT(reloadFinished()));
switch (m_diffType) {
......@@ -750,6 +750,7 @@ static const char SOURCE_PROPERTY[] = "qtcreator_source";
void VcsBasePlugin::setSource(Core::IDocument *document, const QString &source)
document->setProperty(SOURCE_PROPERTY, source);
QString VcsBasePlugin::source(Core::IDocument *document)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment