Re: cannot clone --single-commit instead of --single-branch

2019-08-01 Thread Mike Hommey
On Thu, Aug 01, 2019 at 07:43:22PM -0700, Jonathan Nieder wrote: > Hi, > > Bryan Turner wrote: > > > Promisor remotes and other in-flight changes might help provide some > > of what you're looking for, but I'm not aware of any already-available > > solution. > > You can do > > git clone -

Re: cannot clone --single-commit instead of --single-branch

2019-08-01 Thread Jonathan Nieder
(cc: Duy, who might enjoy this walk through history) Hi, Alexander Mills wrote: > git clone --single-branch= > > doesn't seem to work? I've occasionally wanted something like this (actually, I've wanted to pass a refname like "refs/meta/config"). builtin/clone.c contains static struct

Re: cannot clone --single-commit instead of --single-branch

2019-08-01 Thread Jonathan Nieder
Hi, Bryan Turner wrote: > Promisor remotes and other in-flight changes might help provide some > of what you're looking for, but I'm not aware of any already-available > solution. You can do git clone --no-checkout --filter=blob:none $url repo cd repo git checkout $commi

Re: cannot clone --single-commit instead of --single-branch

2019-08-01 Thread Bryan Turner
On Thu, Aug 1, 2019 at 1:52 PM Alexander Mills wrote: > > Looking for help with this problem: > > https://stackoverflow.com/questions/57316783/git-clone-single-branch-does-not-work-for-sha-commit-ids > > Essentially looking for: > > git clone --single-commit There's no such option, which will be

cannot clone --single-commit instead of --single-branch

2019-08-01 Thread Alexander Mills
Looking for help with this problem: https://stackoverflow.com/questions/57316783/git-clone-single-branch-does-not-work-for-sha-commit-ids Essentially looking for: git clone --single-commit since git clone --single-branch= doesn't seem to work? any help appreciated. -alex -- Alexander D. M