go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
43.31k stars 5.33k forks source link

This breaks compatibility with small repositories where there is file renaming #22912

Open lunny opened 1 year ago

lunny commented 1 year ago

This breaks compatibility with small repositories where there is file renaming

Originally posted by @bvp in https://github.com/go-gitea/gitea/issues/20764#issuecomment-1430987108

@bvp

moseslecce commented 1 year ago

Wouldn't it be best to offer this as a setting, perhaps per repo, where the administrator can decide if there is value to have this flag on or off (to decide if they want performance or a full historical view of changes)?

Alternatively github offers a link to show extended history

martin-tag24 commented 1 year ago

Wouldn't it be best to offer this as a setting, perhaps per repo, where the administrator can decide if there is value to have this flag on or off (to decide if they want performance or a full historical view of changes)?

Alternatively github offers a link to show extended history

Yes please make --follow as repo setting or add it as option to the api and commits list.