Open
Description
Git LFS support file locking. File locking with git lfs can be used without storing the file as a git lfs file.
I would like to have the following functionality in Gitea UI:
- Respect file locking when editing. If a file is locked with git lfs it shall not be editable in the UI. (Respect LFS File Lock on UI #8719)
- Respect file locking, no upload of file if locked (Prevent upload (overwrite) of lfs locked file #8769)
- Show if a file is locked and who locked it (Respect LFS File Lock on UI #8719)
- See all locks and force unlock in repo setting interface (Make repository management section handle lfs locks #8726)
- Check locks on server side when pushing (LFS locks not enforced on server side (can push commit modifying a file locked by another user) #11094)
- Warn if user edits file that is lockable (.gitattributes), but not locked (?)
- Support lock file and unlocking (your own lock) in UI. Files not marked as lockable can be locked but with warning?