Skip to content

repository: clone, Add options for reference repo. Fixes #672 - #2135

Open
abborg wants to merge 2 commits into
go-git:mainfrom
abborg:main
Open

repository: clone, Add options for reference repo. Fixes #672#2135
abborg wants to merge 2 commits into
go-git:mainfrom
abborg:main

Conversation

@abborg

@abborg abborg commented May 17, 2026

Copy link
Copy Markdown

Adds clone options for reference repo and reference repo if able. This change exposes a mechanism for users to easily make use of existing support for specifying alternate repos to use as the source for objects.

This PR has been updated to incorporate changes to avoid handle leaks.

Fixes #672

Previous PR (re-opened after rebasing on current main): #2039

Assisted-by: Cursor

Adds clone options for reference repo and reference repo if able.
This change exposes a mechanism for users to easily make use of existing
support for specifying alternate repos to use as the source for objects.

Assisted-by: Cursor
Signed-off-by: Andrew Borg <andrew.b.borg@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

git clone with local reference repository is not implemented

1 participant