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:
@@ -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]
|
||||
}
|
||||
|
Reference in New Issue
Block a user