summaryrefslogtreecommitdiffstats
path: root/modules/lfs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lfs')
-rw-r--r--modules/lfs/content_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lfs/content_store.go b/modules/lfs/content_store.go
index 2ca44512f1..7a1f1b44b5 100644
--- a/modules/lfs/content_store.go
+++ b/modules/lfs/content_store.go
@@ -90,5 +90,5 @@ func transformKey(key string) string {
return key
}
- return filepath.Join(key[0:2], key[2:4], key[4:len(key)])
+ return filepath.Join(key[0:2], key[2:4], key[4:])
}