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.
gitea/services/pull
wxiaoguang dc9cebdf45
Use `--message=%s` for git commit message (#23028)
Close  #23027

`git commit` message option _only_ supports 4 formats (well, only ....):
* `"commit", "-m", msg`
* `"commit", "-m{msg}"`  (no space)
* `"commit", "--message", msg`
* `"commit", "--message={msg}"`

The long format with `=` is the best choice, and it's documented in `man
git-commit`:

`-m <msg>, --message=<msg> ...`

ps: I would suggest always use long format option for git command, as
much as possible.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
check.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
check_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
comment.go Rename almost all Ctx functions (#22071) 2 years ago
commit_status.go Supports wildcard protected branch (#20825) 2 years ago
edits.go Implement FSFE REUSE for golang files (#21840) 2 years ago
lfs.go Use context parameter in models/git (#22367) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
merge.go Use `--message=%s` for git commit message (#23028) 2 years ago
merge_test.go Support template for merge message description (#22248) 2 years ago
patch.go Refactor git command package to improve security and maintainability (#22678) 2 years ago
patch_unmerged.go Implement FSFE REUSE for golang files (#21840) 2 years ago
pull.go Fix time to NotifyPullRequestSynchronized (#22650) 2 years ago
pull_test.go Support template for merge message description (#22248) 2 years ago
review.go some refactor about code comments (#20821) 2 years ago
temp_repo.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
update.go Fix update by rebase being wrongly disabled by protected base branch (#22825) 2 years ago