Skip to content

Conversation

@gkoreman
Copy link
Contributor

Using Git LFS test server git lfs locks --verify returns something like this:

O Content/MyAsset.uasset gkoreman ID:b0dd4d1797411e59b5e208eca08e3152faa2026d

Note that the ID is not just numbers, so the \d in the regex fails to match. Changing the regex to match on alphanumeric fixed the issue for me.

…cks, since locks are returned as hex values)
@sinbad
Copy link
Owner

sinbad commented Sep 28, 2023

Nice catch! My server only ever returns a number so I never saw this. I guess we don't know how servers will assign IDs, it might not even be hexadecimal, so \w is a sensible safety. Thanks for the PR

@sinbad sinbad merged commit da8c8e2 into sinbad:master Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants