From 0af035c37e8b561662c93b163b3294b91be6ffac Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 3 Nov 2015 09:52:17 -0500 Subject: #1078 not show bin when rename a file --- modules/base/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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] } -- cgit v1.2.3