summaryrefslogtreecommitdiff
path: root/src/plugins/git/commitdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/git/commitdata.cpp')
-rw-r--r--src/plugins/git/commitdata.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/git/commitdata.cpp b/src/plugins/git/commitdata.cpp
index 18adb570b3..d48aeb4906 100644
--- a/src/plugins/git/commitdata.cpp
+++ b/src/plugins/git/commitdata.cpp
@@ -94,6 +94,8 @@ static FileStates stateFor(const QChar &c)
return CopiedFile;
case 'U':
return UnmergedFile;
+ case 'T':
+ return TypeChangedFile;
case '?':
return UntrackedFile;
default:
@@ -209,6 +211,8 @@ QString CommitData::stateDisplayName(const FileStates &state)
resultState.append(tr("renamed"));
else if (state & CopiedFile)
resultState.append(tr("copied"));
+ else if (state & TypeChangedFile)
+ resultState.append(tr("typechange"));
if (state & UnmergedUs) {
if (state & UnmergedThem)
resultState.append(tr(" by both"));