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
Marco Bubke
flatpak-qt-creator
Commits
07c83490
Commit
07c83490
authored
Jul 02, 2010
by
ck
Browse files
Git: Fix misleading status message.
Reviewed-by: Friedemann Kleint
parent
161e0322
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/git/gitcommand.cpp
View file @
07c83490
...
...
@@ -172,7 +172,7 @@ void GitCommand::run()
// Special hack: Always produce output for diff
if
(
ok
&&
stdOut
.
isEmpty
()
&&
m_jobs
.
front
().
arguments
.
at
(
0
)
==
QLatin1String
(
"diff"
))
{
stdOut
+=
"
The file does not differ from
HEAD"
;
stdOut
+=
"
No difference to
HEAD"
;
}
else
{
// @TODO: Remove, see below
if
(
ok
&&
m_jobs
.
front
().
arguments
.
at
(
0
)
==
QLatin1String
(
"status"
))
...
...
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