mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-04 12:02:55 +00:00
No committer was specified, which resulted in failing `git rebase` if the branch is not up-to-date.
This commit is contained in:
@@ -80,12 +80,14 @@ class GitRepo:
|
||||
print('No changes detected, quitting')
|
||||
return
|
||||
|
||||
run([
|
||||
git_with_user = [
|
||||
'git',
|
||||
'-c',
|
||||
'user.name=vipvap',
|
||||
'-c',
|
||||
'user.email=vipvap@zenith.tech',
|
||||
]
|
||||
run(git_with_user + [
|
||||
'commit',
|
||||
'--author="vipvap <vipvap@zenith.tech>"',
|
||||
f'--message={message}',
|
||||
@@ -94,7 +96,7 @@ class GitRepo:
|
||||
for _ in range(5):
|
||||
try:
|
||||
run(['git', 'fetch', 'origin', branch])
|
||||
run(['git', 'rebase', f'origin/{branch}'])
|
||||
run(git_with_user + ['rebase', f'origin/{branch}'])
|
||||
run(['git', 'push', 'origin', branch])
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user