Skip to content

pr-git-2358/HaraldNordgren/remote-resolve-url-push-tracking-v1

tagged this 20 Jul 09:10
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

Submitted-As: https://lore.kernel.org/git/pull.2358.git.git.1784538618.gitgitgadget@gmail.com
Assets 2
Loading