fix case when no files were commited in remote push trigger

The issue appears together with --intent-to-add flag for adding new
files. Original testing has been performed by having already added new
files, thus it passed all checks.

This commit also adds `commit_author` option which will allow to
overwrite the author.
This commit is contained in:
2022-11-14 00:59:43 +02:00
parent b2ed383de0
commit cdd66ee780
6 changed files with 68 additions and 29 deletions

View File

@ -40,6 +40,7 @@ target = gitremote
target = gitremote
[gitremote]
commit_author = "user <user@host>"
push_url = https://github.com/arcan1s/repository.git
pull_url = https://github.com/arcan1s/repository.git