From c7202d4928f0c9c522931a405edcee3dc57fb2f4 Mon Sep 17 00:00:00 2001 From: tpeslalz Date: Fri, 12 Jun 2026 09:25:49 +0000 Subject: [PATCH] fix(fetch): skip pulling code changes for closed PRs --- spr/src/commands/fetch.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/spr/src/commands/fetch.rs b/spr/src/commands/fetch.rs index ed8cf36..562a8da 100644 --- a/spr/src/commands/fetch.rs +++ b/spr/src/commands/fetch.rs @@ -119,6 +119,7 @@ where // Ok, we want to update our local change with any code changes that were done upstream if opts.pull_code_changes + && !work.pull_request.closed() && let Some(old_rev) = work.revision.message.get(&MessageSection::LastCommit) { let head_revset = {