aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-02-15 01:18:30 +0800
committerGitHub <noreply@github.com>2024-02-14 17:18:30 +0000
commitd0183dfa49125a9e533dbe8beab4d8a3724a4f07 (patch)
treed296ab35ae6b79499ea9ccbde7130e97c0458eb0 /models
parent37061e8266806c0b2b66ac64138e725632b295db (diff)
downloadgitea-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')
0 files changed, 0 insertions, 0 deletions