mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-31 21:12:51 +09: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