4915862b95
- Import "regexp" package in pull_create.go - Replace existing code for `GetDefaultPRTitle` with a more efficient regular expression approach - Add a new test file pull_create_test.go with a test function for `GetDefaultPRTitle` Signed-off-by: appleboy <appleboy.tw@gmail.com> Reviewed-on: https://gitea.com/gitea/tea/pulls/549 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io> Co-authored-by: appleboy <appleboy.tw@gmail.com> Co-committed-by: appleboy <appleboy.tw@gmail.com> |
||
---|---|---|
.. | ||
issue_create.go | ||
issue_edit.go | ||
labels.go | ||
labels_export.go | ||
login_create.go | ||
login_httpsign.go | ||
login_ssh.go | ||
milestone_create.go | ||
pull_checkout.go | ||
pull_clean.go | ||
pull_create.go | ||
pull_create_test.go | ||
pull_review.go | ||
repo_clone.go |