From eabdf93b812b3fc865feb94afd2c7fcd39685975 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 14 Apr 2026 23:46:54 -0500 Subject: [PATCH] Auto-commit branches.cpp --- src/branches.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/branches.cpp b/src/branches.cpp index db8ff380..6de83156 100644 --- a/src/branches.cpp +++ b/src/branches.cpp @@ -457,7 +457,8 @@ Branches::find_and_set_mode_ro() *new_impl = *impl; - for(auto &branch : *impl) + bool changed = false; + for(auto &branch : *new_impl) { if(branch.mode != Branch::Mode::RW) continue;