ProjectBorealis / PBSync

System for syncing Unreal Engine project git repositories
MIT License
74 stars 6 forks source link

Lock management #9

Open mastercoms opened 3 years ago

mastercoms commented 3 years ago

PBSync can automatically set read-only for unlocked files, unlock unchanged assets, and lock changed ones, as Git LFS in conjunction with UE4 Ed can get stuck in invalid states sometimes.

mastercoms commented 3 years ago

Read only functionality done in 7f4fb9e31e8b931e0626a0d3068c9741f7b859da

commodo commented 3 years ago

does this require anything else to be closed?

mastercoms commented 3 years ago

Yes, it should unlock assets if they are up to date or behind all of the 3 main branches: master, promoted, and trunk.

mastercoms commented 3 years ago

Also it may be better to use the git-lfs executable within the UE4GitPlugin (engine_dir/Engine/Plugins/ProjectBorealis/UE4GitPlugin/git-lfs.exe), since that supports multi-threaded lock/unlock.