#1078 not show bin when rename a file
This commit is contained in:
parent
bc82157216
commit
0af035c37e
7 changed files with 51 additions and 39 deletions
|
@ -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]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue