diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-02-15 01:18:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 17:18:30 +0000 |
commit | d0183dfa49125a9e533dbe8beab4d8a3724a4f07 (patch) | |
tree | d296ab35ae6b79499ea9ccbde7130e97c0458eb0 /models/migrations/v1_19/v237.go | |
parent | 37061e8266806c0b2b66ac64138e725632b295db (diff) | |
download | gitea-d0183dfa49125a9e533dbe8beab4d8a3724a4f07.tar.gz gitea-d0183dfa49125a9e533dbe8beab4d8a3724a4f07.zip |
Refactor git version functions and check compatibility (#29155)
Introduce a new function checkGitVersionCompatibility, when the git
version can't be used by Gitea, tell the end users to downgrade or
upgrade. The refactored functions are related to make the code easier to
test.
And simplify the comments for "safe.directory"
---------
Co-authored-by: delvh <dev.lh@web.de>
Diffstat (limited to 'models/migrations/v1_19/v237.go')
0 files changed, 0 insertions, 0 deletions