From 4c345b2fb4857b46b97c6ef89464f1be4d427c2b Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 28 May 2025 19:22:31 +0200 Subject: [PATCH] ci/check-cherry-picks: remove unused condition The command substitution style we recently switched to strips trailing newlines, so we don't need to check for empty lines anymore. --- ci/check-cherry-picks.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/ci/check-cherry-picks.sh b/ci/check-cherry-picks.sh index e7c9e289b22b..cc6c19a0ac43 100755 --- a/ci/check-cherry-picks.sh +++ b/ci/check-cherry-picks.sh @@ -20,9 +20,6 @@ remote="$(git remote -v | grep -i 'NixOS/nixpkgs' | head -n1 | cut -f1 || true)" commits="$(git rev-list --reverse "$1..$2")" while read -r new_commit_sha ; do - if [ -z "$new_commit_sha" ] ; then - continue # skip empty lines - fi if [ "$GITHUB_ACTIONS" = 'true' ] ; then echo "::group::Commit $new_commit_sha" else