Commit 21a05a5e authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

we want to get a full git path

parent c5f3cb06
......@@ -89,7 +89,7 @@ void GitWidget::initGitExe()
// we initially use project base dir
// and then calculate the exit .git path
git.setWorkingDirectory(m_project->baseDir());
git.setArguments({QStringLiteral("rev-parse"), QStringLiteral("--git-dir")});
git.setArguments({QStringLiteral("rev-parse"), QStringLiteral("--absolute-git-dir")});
git.start();
if (git.waitForStarted() && git.waitForFinished(-1)) {
if (git.exitStatus() != QProcess::NormalExit || git.exitCode() != 0) {
......
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