summaryrefslogtreecommitdiffstats
path: root/modules/lfs
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2016-12-30 15:26:05 +0800
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-30 20:41:10 +0100
commit6510e5775896343f0a69c47ad31c439c7310ff34 (patch)
tree875044ba5fcd58a4cc7e7d1b1215f7217963a30d /modules/lfs
parentd0490c187cf6720ed4d0e8ce14c8706e61adaf1f (diff)
downloadgitea-6510e5775896343f0a69c47ad31c439c7310ff34.tar.gz
gitea-6510e5775896343f0a69c47ad31c439c7310ff34.zip
fix gofmt error
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
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:])
}