mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Refactor git module, make Gitea use internal git config, add safe.directory config * introduce git.InitSimple and git.InitWithConfigSync, make serv cmd use gitconfig * use HOME instead of GIT_CONFIG_GLOBAL, because git always needs a correct HOME * fix cmd env in cmd/serv.go * fine tune error message * Fix a incorrect test case * fix configAddNonExist * fix configAddNonExist logic, add `--fixed-value` flag, add tests * add configSetNonExist function in case it's needed. * use configSetNonExist for `user.name` and `user.email` * add some comments * Update cmd/serv.go Co-authored-by: zeripath <art27@cantab.net> * Update cmd/serv.go Co-authored-by: zeripath <art27@cantab.net> * Update modules/git/git.go Co-authored-by: zeripath <art27@cantab.net> * Update modules/setting/setting.go Co-authored-by: zeripath <art27@cantab.net> * Update modules/git/repo_attribute.go Co-authored-by: zeripath <art27@cantab.net> * fix spaces in messages * use `configSet("core.protectNTFS", ...)` instead of `globalCommandArgs` * remove GIT_CONFIG_NOSYSTEM, continue to use system's git config * Update cmd/serv.go Co-authored-by: zeripath <art27@cantab.net> * fix merge * remove code for safe.directory * separate git.CommonEnvs to CommonGitCmdEnvs and CommonCmdServEnvs * avoid Golang's data race error Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> |
3 years ago | |
---|---|---|
.. | ||
activity.go | 3 years ago | |
attachment.go | 3 years ago | |
blame.go | 3 years ago | |
branch.go | 3 years ago | |
cherry_pick.go | 3 years ago | |
commit.go | 3 years ago | |
compare.go | 3 years ago | |
download.go | 3 years ago | |
editor.go | 3 years ago | |
editor_test.go | 3 years ago | |
find.go | 3 years ago | |
http.go | 3 years ago | |
http_test.go | 4 years ago | |
issue.go | 3 years ago | |
issue_content_history.go | 3 years ago | |
issue_dependency.go | 3 years ago | |
issue_label.go | 3 years ago | |
issue_label_test.go | 3 years ago | |
issue_lock.go | 3 years ago | |
issue_stopwatch.go | 3 years ago | |
issue_test.go | 3 years ago | |
issue_timetrack.go | 3 years ago | |
issue_watch.go | 3 years ago | |
lfs.go | 3 years ago | |
main_test.go | 3 years ago | |
middlewares.go | 3 years ago | |
migrate.go | 3 years ago | |
milestone.go | 3 years ago | |
packages.go | 3 years ago | |
patch.go | 3 years ago | |
projects.go | 3 years ago | |
projects_test.go | 3 years ago | |
pull.go | 3 years ago | |
pull_review.go | 3 years ago | |
release.go | 3 years ago | |
release_test.go | 3 years ago | |
repo.go | 3 years ago | |
search.go | 3 years ago | |
setting.go | 3 years ago | |
setting_protected_branch.go | 3 years ago | |
settings_test.go | 3 years ago | |
tag.go | 3 years ago | |
topic.go | 3 years ago | |
treelist.go | 3 years ago | |
view.go | 3 years ago | |
webhook.go | 3 years ago | |
wiki.go | 3 years ago | |
wiki_test.go | 3 years ago |