1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-16 07:18:37 +00:00

#1078 not show bin when rename a file

This commit is contained in:
Unknwon
2015-11-03 09:52:17 -05:00
parent bc82157216
commit 0af035c37e
7 changed files with 51 additions and 39 deletions

View File

@@ -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]
}