charmbracelet / git-lfs-transfer

Server-side implementation of the Git LFS pure-SSH protocol
MIT License
52 stars 6 forks source link

fix: oid pointer relative path #20

Closed aymanbagabas closed 11 months ago

aymanbagabas commented 11 months ago

The specs define the relative path as $GIT_DIR/lfs/objects/{OID[0:2]/OID[2:4]/OID}

aymanbagabas commented 11 months ago

cc/ @KyleFromKitware

codecov[bot] commented 11 months ago

We're currently processing your upload. This comment will be updated when the results are available.

KyleFromKitware commented 11 months ago

+1, though I am not personally using the local backend so I haven't tried it.

aymanbagabas commented 11 months ago

+1, though I am not personally using the local backend so I haven't tried it.

The local backend is used for testing. I'm planning on adding the ability to specify a custom backend using the git-lfs-transfer binary and shell scripts

KyleFromKitware commented 11 months ago

I'm planning on adding the ability to specify a custom backend using the git-lfs-transfer binary and shell scripts

Not a bad feature, though I think for GitLab we're still going to use the Go library directly, because it integrates so nicely into gitlab-shell.