[PATCH 0/2] remote: resolve url push tracking
- From
Harald Nordgren via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Jul 20, 2026, 09:10 UTC
- Message-ID
- <pull.2358.git.git.1784538618.gitgitgadget@gmail.com>
After renaming remotes, git status may stop showing the push branch even though Git still pushes to the right URL, use the remote with the same URL to find it.
Harald Nordgren (2): remote: pass repository to push tracking helper remote: resolve URL-valued push tracking remotes
Documentation/revisions.adoc | 3 + remote.c | 36 ++++++++++-- remote.h | 2 + t/t5505-remote.sh | 104 +++++++++++++++++++++++++++++++++++ transport.c | 5 +- 5 files changed, 144 insertions(+), 6 deletions(-)
base-commit: 41365c2a9ba347870b80881c0d67454edd22fd49 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2358%2FHaraldNordgren%2Fremote-resolve-url-push-tracking-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2358/HaraldNordgren/remote-resolve-url-push-tracking-v1 Pull-Request: https://github.com/git/git/pull/2358
-- gitgitgadget