Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KDevelop
KDevelop
Commits
13f39dae
Commit
13f39dae
authored
Mar 12, 2022
by
Jonathan Verner
Committed by
Milian Wolff
Sep 12, 2022
Browse files
Make git plugin recognize file type-changes in commits.
E.g. when a link becomes a regular file, etc.
parent
368fae34
Pipeline
#231062
passed with stage
in 20 minutes and 47 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
plugins/git/gitplugin.cpp
View file @
13f39dae
...
...
@@ -1407,6 +1407,7 @@ GitPlugin::ExtendedState GitPlugin::parseGitState(const QStringRef& msg)
case
_pair
(
' '
,
' '
):
ret
=
GitXX
;
break
;
case
_pair
(
' '
,
'T'
):
// Typechange
case
_pair
(
' '
,
'M'
):
ret
=
GitXM
;
break
;
...
...
@@ -1419,6 +1420,7 @@ GitPlugin::ExtendedState GitPlugin::parseGitState(const QStringRef& msg)
case
_pair
(
' '
,
'C'
)
:
ret
=
GitXC
;
break
;
case
_pair
(
'T'
,
' '
)
:
// Typechange
case
_pair
(
'M'
,
' '
)
:
ret
=
GitMX
;
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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