mirror of
https://gitea.com/gitea/tea.git
synced 2026-09-10 15:36:37 -04:00
Fixes #1071 `TestRepoFromPath_Worktree` creates a throwaway temp repo and commits to it. On machines with `commit.gpgsign=true` in global git config, the commit fails with `No secret key`. Override the global setting by setting `commit.gpgsign=false` in the temp repo's local config so the test is environment-independent. Reviewed-on: https://gitea.com/gitea/tea/pulls/1072 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Ross Golder <ross@golder.org> |
||
|---|---|---|
| .. | ||
| admin_users_test.go | ||
| cmd_labels_test.go | ||
| comments_test.go | ||
| config_lock_unix_test.go | ||
| context_init_test.go | ||
| git_branch_test.go | ||
| git_repo_test.go | ||
| helpers_test.go | ||
| pulls_reply_test.go | ||
| repos_create_test.go | ||
| sshkeys_test.go | ||
| task_issue_test.go | ||
| task_labels_test.go | ||
| task_pull_test.go | ||
| wiki_test.go | ||