From: Patrick Steinhardt Date: Thu, 16 Jul 2026 12:38:01 GMT Subject: [PATCH 0/3] refspec: remove dependency on `the_repository` Message-ID: <20260716-pks-refspec-wo-the-repository-v1-0-aa40844d067f@pks.im> Hi, this small patch series removes the dependency on `the_repository` in "refspec.c". Thanks! Patrick --- Patrick Steinhardt (3): refspec: group related structures and functions refspec: let callers pass in hash algorithm when parsing items refspec: stop depending on `the_repository` builtin/fast-export.c | 4 +++- builtin/fetch.c | 9 ++++++--- builtin/pull.c | 2 +- builtin/push.c | 6 ++++-- builtin/send-pack.c | 5 ++++- builtin/submodule--helper.c | 2 +- http-push.c | 2 +- refspec.c | 39 +++++++++++++++++++++------------------ refspec.h | 42 +++++++++++++++++++++++++++--------------- remote.c | 6 +++--- transport-helper.c | 2 +- 11 files changed, 72 insertions(+), 47 deletions(-) --- base-commit: d35c5399e3e54ac277bb391fc2f6be3e816d312b change-id: 20260716-pks-refspec-wo-the-repository-24a6fd303548