web frontend for git (tangled's grandpa)
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

git: fix getDisplayName

+1 -5
+1 -5
routes/util.go
··· 17 17 } 18 18 19 19 func getDisplayName(name string) string { 20 - l := len(name) - 4 21 - if name[l:] == ".git" { 22 - name = name[:l] 23 - } 24 - return name 20 + return strings.TrimSuffix(name, ".git") 25 21 } 26 22 27 23 func getDescription(path string) (desc string) {