mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-28 03:00:03 +02:00
Backport #23028 This backport is done by manually because the git module is different. (cherry picked from commit c50d4202ef23b59d25e259f0ec6e18a5e94c1b18)
This commit is contained in:
parent
c19a5e6bc0
commit
0f0f775737
3 changed files with 6 additions and 6 deletions
|
@ -319,7 +319,7 @@ func initRepoCommit(ctx context.Context, tmpPath string, repo *repo_model.Reposi
|
|||
|
||||
cmd := git.NewCommand(ctx,
|
||||
"commit", git.CmdArg(fmt.Sprintf("--author='%s <%s>'", sig.Name, sig.Email)),
|
||||
"-m", "Initial commit",
|
||||
"--message=Initial commit",
|
||||
)
|
||||
|
||||
sign, keyID, signer, _ := asymkey_service.SignInitialCommit(ctx, tmpPath, u)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue