Re: RFE: use patchwork to submit a patch
- From
- Eric Wong <e@80x24.org>
- Date
- Oct 10, 2019, 20:36 UTC
- Message-ID
- <20191010203617.o6gyhnkjbbd7njnw@dcvr>
- In-Reply-To
- <20191010202151.GC191800@google.com>
Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 22 quoted lines
> Eric Wong wrote: > > Konstantin Ryabitsev <konstantin@linuxfoundation.org> wrote: > > >> This is actually really fast if you already have a local copy of the > >> repository with most objects. Try this yourself if you have > >> torvalds/linux.git locally: > >> > >> git clone --bare -s torvalds/linux.git test > > > > Yep, -s (--shared) makes cloning really cheap. One of my goals is to get > > > > git clone -s https://example.com/torvalds/linux.git > > > > and > > > > git clone -s https://example.com/torvalds/linux.git/clone.bundle > > > > working. That would make it easier for new contributors to > > setup lightweight clones and pull in history on an as-needed > > basis w/o hacks like shallow cloning. > > Does "git clone --filter=blob:none" do what you're looking for?
Oops, haven't seen that new feature :x And haven't tried, pu @ 8d9027fa59b943db96a8a9090ec31d7f0f935596 is broken due to conflicts with hashmap (probably won't have time for a bit to look at it).
What I'm hoping to do with "git clone -s" would be client-only and compatible with existing HTTP servers that run "git update-server-info".