Changes since v3:
- In patch 1, unwrap the lines in repo_for_each_remote() that are
now short enough after the switch from the_repository to repo, as
Christian suggested. Patch 2 is unchanged.
Thanks, Christian, for the review.
Okhuomon Ajayi (2):
remote: add repo_for_each_remote()
checkout: pass the repository to unique_tracking_name()
builtin/checkout.c | 3 ++-
builtin/worktree.c | 6 ++++--
checkout.c | 13 +++++++------
checkout.h | 4 +++-
remote.c | 18 +++++++++++-------
remote.h | 2 ++
6 files changed, 29 insertions(+), 17 deletions(-)
base-commit: c51408889c3b372814bc20b9431c3b74d0d268eb