mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-23 07:57:24 +08:00

Backport #29377 by wxiaoguang Regression of #18718. When submitting the form, EditRepoFileForm.TreePath is marked as "Required", so the value can't be empty. The value is not used by backend, so use a meaningful dummy value for it. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>