fix: flag regex

This commit is contained in:
2026-06-08 13:18:41 +02:00
parent 937a4f1514
commit 6a0c9f4d01
+1 -1
View File
@@ -64,7 +64,7 @@ if [[ "$1" == "pick" ]]; then
fi
for commit in "${@:2}"; do
if ! [[ $commit =~ "--.*" ]]; then # if not a flag
if ! [[ $commit =~ --.* ]]; then # if not a flag
if git -C "$nixConfigPath" cherry-pick "$commit"; then
echo "Applied $commit successfully"
else