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.
forgejo/modules/repository
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>
1 year ago
..
collaborator.go Always reuse transaction (#22362) 1 year ago
collaborator_test.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
commits.go Add context cache as a request level cache (#22294) 1 year ago
commits_test.go Add context cache as a request level cache (#22294) 1 year ago
create.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
create_test.go Map OIDC groups to Orgs/Teams (#21441) 1 year ago
delete.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
env.go Implement actions (#21937) 1 year ago
fork.go Implement FSFE REUSE for golang files (#21840) 2 years ago
generate.go Repositories: by default disable all units except code and pulls on forks (#22541) 1 year ago
generate_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
hooks.go Implement FSFE REUSE for golang files (#21840) 2 years ago
init.go Use `--message=%s` for git commit message (#23028) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
push.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Add context cache as a request level cache (#22294) 1 year ago
temp.go Implement FSFE REUSE for golang files (#21840) 2 years ago