[PATCH v5 0/5] status: show default branch comparison when tracking non-default branch
- From
Harald Nordgren via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Dec 24, 2025, 10:38 UTC
- Message-ID
- <pull.2138.v5.git.git.1766572715.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.2138.v4.git.git.1766571587.gitgitgadget@gmail.com>
cc: Chris Torek chris.torek@gmail.com cc: Yee Cheng Chin ychin.macvim@gmail.com cc: "brian m. carlson" sandals@crustytoothpaste.net
Harald Nordgren (5): 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
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-v5 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2138/HaraldNordgren/ahead_of_main_status-v5 Pull-Request: https://github.com/git/git/pull/2138
Range-diff vs v4:
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 Add warning for malformed statusGoalBranch config
-- gitgitgadget