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 | |
---|---|---|
.. | ||
admin | 3 years ago | |
appstate | 3 years ago | |
asymkey | 3 years ago | |
auth | 3 years ago | |
avatars | 3 years ago | |
db | 3 years ago | |
fixtures | 3 years ago | |
foreignreference | 3 years ago | |
issues | 3 years ago | |
migrations | 3 years ago | |
organization | 3 years ago | |
packages | 3 years ago | |
perm | 3 years ago | |
project | 3 years ago | |
pull | 3 years ago | |
repo | 3 years ago | |
unit | 3 years ago | |
unittest | 3 years ago | |
user | 3 years ago | |
webhook | 3 years ago | |
action.go | 3 years ago | |
action_list.go | 3 years ago | |
action_test.go | 3 years ago | |
branches.go | 3 years ago | |
branches_test.go | 3 years ago | |
commit.go | 3 years ago | |
commit_status.go | 3 years ago | |
commit_status_test.go | 3 years ago | |
consistency.go | 3 years ago | |
consistency_test.go | 3 years ago | |
engine_test.go | 3 years ago | |
error.go | 3 years ago | |
fixture_generation.go | 3 years ago | |
fixture_test.go | 3 years ago | |
issue.go | 3 years ago | |
issue_assignees.go | 3 years ago | |
issue_assignees_test.go | 3 years ago | |
issue_comment.go | 3 years ago | |
issue_comment_list.go | 3 years ago | |
issue_comment_test.go | 3 years ago | |
issue_dependency.go | 3 years ago | |
issue_dependency_test.go | 3 years ago | |
issue_label.go | 3 years ago | |
issue_label_test.go | 3 years ago | |
issue_list.go | 3 years ago | |
issue_list_test.go | 3 years ago | |
issue_lock.go | 3 years ago | |
issue_project.go | 3 years ago | |
issue_stopwatch.go | 3 years ago | |
issue_stopwatch_test.go | 3 years ago | |
issue_test.go | 3 years ago | |
issue_tracked_time.go | 3 years ago | |
issue_tracked_time_test.go | 3 years ago | |
issue_user.go | 3 years ago | |
issue_user_test.go | 3 years ago | |
issue_watch.go | 3 years ago | |
issue_watch_test.go | 3 years ago | |
issue_xref.go | 3 years ago | |
issue_xref_test.go | 3 years ago | |
lfs.go | 3 years ago | |
lfs_lock.go | 3 years ago | |
main_test.go | 3 years ago | |
migrate.go | 3 years ago | |
migrate_test.go | 3 years ago | |
notification.go | 3 years ago | |
notification_test.go | 3 years ago | |
org.go | 3 years ago | |
org_team.go | 3 years ago | |
org_team_test.go | 3 years ago | |
org_test.go | 3 years ago | |
protected_tag.go | 3 years ago | |
protected_tag_test.go | 3 years ago | |
pull.go | 3 years ago | |
pull_list.go | 3 years ago | |
pull_test.go | 3 years ago | |
release.go | 3 years ago | |
repo.go | 3 years ago | |
repo_activity.go | 3 years ago | |
repo_collaboration.go | 3 years ago | |
repo_collaboration_test.go | 3 years ago | |
repo_permission_test.go | 3 years ago | |
repo_test.go | 3 years ago | |
repo_transfer.go | 3 years ago | |
repo_transfer_test.go | 3 years ago | |
review.go | 3 years ago | |
review_test.go | 3 years ago | |
statistic.go | 3 years ago | |
task.go | 3 years ago | |
token.go | 3 years ago | |
token_test.go | 3 years ago | |
upload.go | 3 years ago | |
user.go | 3 years ago | |
user_heatmap.go | 3 years ago | |
user_heatmap_test.go | 3 years ago | |
user_test.go | 3 years ago |