Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
21a05a5e
Commit
21a05a5e
authored
Feb 16, 2021
by
Christoph Cullmann
🐮
Browse files
we want to get a full git path
parent
c5f3cb06
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitwidget.cpp
View file @
21a05a5e
...
...
@@ -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
)
{
...
...
Waqar Ahmed
@waqar
mentioned in issue
#24 (closed)
·
Feb 18, 2021
mentioned in issue
#24 (closed)
mentioned in issue #24
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment