diff options
author | Unknwon <u@gogs.io> | 2015-11-03 09:52:17 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-03 09:52:17 -0500 |
commit | 0af035c37e8b561662c93b163b3294b91be6ffac (patch) | |
tree | d985f7b5c5e635235c5fc503a3d09cf91d81bd14 /modules/base | |
parent | bc8215721627fcdeaa23c6e3bf625e0c4e5c3407 (diff) | |
download | gitea-0af035c37e8b561662c93b163b3294b91be6ffac.tar.gz gitea-0af035c37e8b561662c93b163b3294b91be6ffac.zip |
#1078 not show bin when rename a file
Diffstat (limited to 'modules/base')
-rw-r--r-- | modules/base/template.go | 2 |
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] } |