Thread (22 messages) flat view 22 messages, 5 authors, 47m ago

Re: [PATCH] fetch: add config to avoid fetching every branch in shallow repo

From: Harald Nordgren <hidden>
Date: 2026-09-22 13:00:51

quoted
If it is the former then we should think
how we can improve the behavior of "git remote add" in a sparse
repository to prevent it adding a wildcard fetch refspec and instead
setup the new remote to fetch only the branch(es) we're interested in.
I didn't even consider that, that sounds like an interesting idea!
Would you suggest we do that instead of this, or in addition to this
fix?

Seems maybe we only need the fix on "git remote add".




Harald
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help