We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2136542 + ea7cc3d commit a3d3baeCopy full SHA for a3d3bae
1 file changed
import_pr.sh
@@ -337,10 +337,10 @@ apply_patches() {
337
patch_name=$(basename "$patch")
338
if git am --directory="${subdir}" "$patch" 2>/dev/null; then
339
log_info "Applied: ${patch_name}"
340
- ((applied++))
+ ((applied++)) || true
341
else
342
log_error "Failed to apply: ${patch_name}"
343
- ((failed++))
+ ((failed++)) || true
344
# Abort the am session
345
git am --abort 2>/dev/null || true
346
break
0 commit comments