0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:06:38 +01:00
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>
2023-02-21 14:12:57 +08:00
..
check_test.go
check.go
comment.go
commit_status.go
edits.go
lfs.go
main_test.go
merge_test.go
merge.go Use --message=%s for git commit message (#23028) 2023-02-21 14:12:57 +08:00
patch_unmerged.go
patch.go
pull_test.go
pull.go
review.go
temp_repo.go
update.go