mirror of
https://github.com/containers/podman.git
synced 2025-05-17 06:59:07 +08:00
Buildah treadmill: more allow-empty options
Handle the condition where the second commit (the one making podman-specific changes) is empty. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -285,7 +285,7 @@ END_FAIL_INSTRUCTIONS
|
||||
exit 1;
|
||||
};
|
||||
progress('Reapplying treadmill patches');
|
||||
git('cherry-pick', '--allow-empty', $treadmill_commit);
|
||||
git('cherry-pick', '--allow-empty', '--empty=keep', $treadmill_commit);
|
||||
|
||||
# It worked! Clean up: remove our local die() handler and the saved branch
|
||||
undef $SIG{__DIE__};
|
||||
|
Reference in New Issue
Block a user