summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/base/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/template.go b/modules/base/template.go
index 0fd1af755c..ff743e957d 100644
--- a/modules/base/template.go
+++ b/modules/base/template.go
@@ -263,7 +263,7 @@ func ActionContent2Commits(act Actioner) *PushCommits {
func DiffTypeToStr(diffType int) string {
diffTypes := map[int]string{
- 1: "add", 2: "modify", 3: "del",
+ 1: "add", 2: "modify", 3: "del", 4: "rename",
}
return diffTypes[diffType]
}