Skip to content

Commit

Permalink
Use --no-gpg-sign for reattempting runlog commits without signing
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-basevi committed Aug 20, 2024
1 parent ad0ee4a commit 55f594a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payu/runlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def commit(self):
stderr=f_null, cwd=self.expt.control_path)
except subprocess.CalledProcessError:
# Attempt commit without signing commits
cmd = f'git -c "commit.gpgsign=false" commit -am "{commit_msg}"'
cmd = f'git commit --no-gpg-sign -am "{commit_msg}"'
print(cmd)
try:
subprocess.check_call(shlex.split(cmd),
Expand Down

0 comments on commit 55f594a

Please sign in to comment.