[PATCH v4 0/4] status: show default branch comparison when tracking non-default branch
From: Harald Nordgren via GitGitGadget <hidden>
Date: 2025-12-24 10:19:50
cc: Chris Torek chris.torek@gmail.com cc: Yee Cheng Chin ychin.macvim@gmail.com cc: "brian m. carlson" sandals@crustytoothpaste.net Harald Nordgren (4): 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 remote.c | 92 ++++++++++++ t/t6040-tracking-info.sh | 317 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 409 insertions(+) base-commit: c4a0c8845e2426375ad257b6c221a3a7d92ecfda Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2138%2FHaraldNordgren%2Fahead_of_main_status-v4 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2138/HaraldNordgren/ahead_of_main_status-v4 Pull-Request: https://github.com/git/git/pull/2138 Range-diff vs v3: 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 Rename default_remote to goal_branch -- gitgitgadget