[PATCH v6 0/6] status: show default branch comparison when tracking non-default branch
From: Harald Nordgren via GitGitGadget <hidden>
Date: 2025-12-24 23:41:17
cc: Chris Torek chris.torek@gmail.com cc: Yee Cheng Chin ychin.macvim@gmail.com cc: "brian m. carlson" sandals@crustytoothpaste.net Harald Nordgren (6): status: show comparison with upstream default branch Simplify default branch comparison logic Use repo.settings.statusGoalBranch config for status comparison Rename default_remote to goal_branch Add warning for malformed statusGoalBranch config Change config key to status.compareBranch remote.c | 92 +++++++++++ t/t6040-tracking-info.sh | 340 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 432 insertions(+) base-commit: c4a0c8845e2426375ad257b6c221a3a7d92ecfda Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2138%2FHaraldNordgren%2Fahead_of_main_status-v6 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2138/HaraldNordgren/ahead_of_main_status-v6 Pull-Request: https://github.com/git/git/pull/2138 Range-diff vs v5: 1: a3800aed18 = 1: a3800aed18 status: show comparison with upstream default branch 2: 417f2075fb = 2: 417f2075fb Simplify default branch comparison logic 3: c9ec5d9610 = 3: c9ec5d9610 Use repo.settings.statusGoalBranch config for status comparison 4: 0e308141da = 4: 0e308141da Rename default_remote to goal_branch 5: 441678939f = 5: 441678939f Add warning for malformed statusGoalBranch config -: ---------- > 6: 242dbbae44 Change config key to status.compareBranch -- gitgitgadget