aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/git-lfs-server
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2023-12-30 00:36:05 +0100
committerLibravatar Rutger Broekhoff2023-12-30 00:36:05 +0100
commitce9541e0b0b96630c332c4769e9c7074c249f217 (patch)
treee20ab52650442316c3dc89e9ca1592b624b63c71 /cmd/git-lfs-server
parent9f09bc87d6613d365e0eb39881a9c96ffb8e130a (diff)
downloadgitolfs3-ce9541e0b0b96630c332c4769e9c7074c249f217.tar.gz
gitolfs3-ce9541e0b0b96630c332c4769e9c7074c249f217.zip
Repo .git suffix
Diffstat (limited to 'cmd/git-lfs-server')
-rw-r--r--cmd/git-lfs-server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/git-lfs-server/main.go b/cmd/git-lfs-server/main.go
index 4ff62f6..c3f4e91 100644
--- a/cmd/git-lfs-server/main.go
+++ b/cmd/git-lfs-server/main.go
@@ -146,7 +146,7 @@ func makeObjError(obj parsedBatchObject, message string, code int) batchResponse
146} 146}
147 147
148func (h *handler) handleDownloadObject(ctx context.Context, repo string, obj parsedBatchObject) batchResponseObject { 148func (h *handler) handleDownloadObject(ctx context.Context, repo string, obj parsedBatchObject) batchResponseObject {
149 fullPath := path.Join(repo, "lfs/objects", obj.firstByte, obj.secondByte, obj.fullHash) 149 fullPath := path.Join(repo+".git", "lfs/objects", obj.firstByte, obj.secondByte, obj.fullHash)
150 expiresIn := time.Hour * 24 150 expiresIn := time.Hour * 24
151 expiresInSeconds := SecondDuration(expiresIn) 151 expiresInSeconds := SecondDuration(expiresIn)
152 152