diff options
author | Rutger Broekhoff | 2023-12-30 00:36:05 +0100 |
---|---|---|
committer | Rutger Broekhoff | 2023-12-30 00:36:05 +0100 |
commit | ce9541e0b0b96630c332c4769e9c7074c249f217 (patch) | |
tree | e20ab52650442316c3dc89e9ca1592b624b63c71 /cmd | |
parent | 9f09bc87d6613d365e0eb39881a9c96ffb8e130a (diff) | |
download | gitolfs3-ce9541e0b0b96630c332c4769e9c7074c249f217.tar.gz gitolfs3-ce9541e0b0b96630c332c4769e9c7074c249f217.zip |
Repo .git suffix
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/git-lfs-server/main.go | 2 |
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 | ||
148 | func (h *handler) handleDownloadObject(ctx context.Context, repo string, obj parsedBatchObject) batchResponseObject { | 148 | func (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 | ||