937b4b5aa1
* Speed up conflict checking in pull request creation In order to check conflicts of a PR, we set up a working tree by cloning the base branch, which is quite time-consuming when the repository is huge. Instead, this PR uses `git read-tree` and `git apply --check --cached` to check conflicts. For #258 * Use $GIT_INDEX_FILE instead of --index-output to avoid lockfile problem The lockfile gets renamed to the final destination after the operation finishes. But it must be located in the same filesystem, which prevents us from using /tmp. * Temporary file names should not prefixed with '-' |
||
---|---|---|
.. | ||
migrations | ||
access.go | ||
action.go | ||
admin.go | ||
error.go | ||
git_diff.go | ||
git_diff_test.go | ||
graph.go | ||
graph_test.go | ||
issue.go | ||
issue_comment.go | ||
issue_label.go | ||
issue_mail.go | ||
lfs.go | ||
login_source.go | ||
mail.go | ||
models.go | ||
models_sqlite.go | ||
models_test.go | ||
models_tidb.go | ||
org.go | ||
org_team.go | ||
pull.go | ||
release.go | ||
repo.go | ||
repo_branch.go | ||
repo_collaboration.go | ||
repo_editor.go | ||
repo_mirror.go | ||
repo_test.go | ||
ssh_key.go | ||
ssh_key_test.go | ||
star.go | ||
token.go | ||
update.go | ||
user.go | ||
user_mail.go | ||
webhook.go | ||
webhook_slack.go | ||
wiki.go |