-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lockonly breaks checkout prompt #99
Comments
Thanks for the report, I'll look into why this is happening. As a side note, keep in mind there are 2 problems with large files in git, one is a problem with per file scale, and the repo size itself. Partial clone only solves the latter. Git has trouble with its binary diff algorithm in many cases and even on a few binary files of a few megabytes changed, will fail to transfer to/from the remote. This is something we have tested several times in the past. Storing binary content (using LFS) outside of the Git repo was the best option each time. |
Thanks a lot for sharing your experience with this. Regarding the transfer problem with the diff algorithm, did disabling the delta compression for those binary files like |
We didn't consider that since we would have full history for files, and it would bloat the repository quickly. I think partial cloned have improved the situation for clients somewhat since then. But we also discovered issues with transferring big files on first push/pull over Git HTTP on GitLab and Azure, maybe others (timeouts, remote ended connection, etc.), not sure if those providers have improved. It's a moot point on GitHub as we use now though since they block large files from being uploaded. |
What is the output on |
We had similar problems years ago until there was LFS. I'll try to test this one specifically, thanks for bringing it up! |
Could you retest for this issue with the latest release? |
Thanks a lot for improving this! Did some quick tests and overall the checkout dialog opens up when hitting ctrl+s. However, it seems that for some actors the checkout dialog will never appear even though there's the engine notification that these actors need check out. Also testing with This should be easily reproducible as I'm just creating a first person template with v3.12 of the plugin + the gitattributes file from above and duplicating around 30 of these "SM_ChamferCube" actors in the FirstPersonMap. |
I'm experimenting with a non-LFS approach for storing large binaries, using the LFS system only for file locking. Most of the problems solved by storing large binaries with LFS can also be solved by using the built-in partial clone feature.
Therefore, I modified the recommended .gitattribues like this:
The only problem I encountered with this is that the git plugin will ignore the
bPromptForCheckoutOnAssetModification=True
setting fromConfig\DefaultEditorPerProjectUserSettings
. The prompt for checking out an existing file on modification doesn't appear.Nevertheless, files can still be manually locked/checked out and the plugin will automatically release the locks when submitting the files.
Once a file has been manually locked from the command line, the prompt for checking out an existing file on modification will appear, also for subsequent changes after submitting.
Any idea why the checkout prompt needs to "poked" via a manual LFS lock first?
The text was updated successfully, but these errors were encountered: