git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/3] refspec: remove dependency on `the_repository`

From
Patrick Steinhardt <ps@pks.im>
Date
Jul 16, 2026, 12:38 UTC
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

Next: Patrick Steinhardt
Message 1 of 6 in “refspec: remove dependency on `the_repository`”
  1. 0/3 refspec: remove dependency on `the_repository`Patrick Steinhardt, Jul 16, 2026
  2. 1/3 refspec: group related structures and functionsPatrick Steinhardt, Jul 16, 2026
  3. 2/3 refspec: let callers pass in hash algorithm when parsing itemsPatrick Steinhardt, Jul 16, 2026
  4. 3/3 refspec: stop depending on `the_repository`Patrick Steinhardt, Jul 16, 2026
  5. Junio C HamanoJul 16, 2026
  6. Patrick SteinhardtJul 17, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.