From 46cd9528418beccaa26417a7252bc0d8e91b529f Mon Sep 17 00:00:00 2001 From: macneale4 Date: Tue, 27 May 2025 23:00:28 +0000 Subject: [PATCH] [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh --- go/libraries/doltcore/sqle/dprocedures/dolt_remote.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/libraries/doltcore/sqle/dprocedures/dolt_remote.go b/go/libraries/doltcore/sqle/dprocedures/dolt_remote.go index 746405ee89..b9c8dc1d53 100644 --- a/go/libraries/doltcore/sqle/dprocedures/dolt_remote.go +++ b/go/libraries/doltcore/sqle/dprocedures/dolt_remote.go @@ -146,7 +146,7 @@ func removeRemote(ctx *sql.Context, dbd env.DbData[*sql.Context], apr *argparser if err != nil { return fmt.Errorf("failed to get branches: %w", err) } - + var branchesToUpdate []string branches.Iter(func(branchName string, config env.BranchConfig) bool { if config.Remote == remote.Name { @@ -154,7 +154,7 @@ func removeRemote(ctx *sql.Context, dbd env.DbData[*sql.Context], apr *argparser } return true }) - + // Clear the remote tracking for these branches by updating their configs for _, branchName := range branchesToUpdate { currentConfig, _ := branches.Get(branchName)