Re: [PATCH v3 1/2] list-objects-filter: only parse sparse OID when 'have_git_dir'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 9, 2019, 17:12 UTC
- Message-ID
- <xmqqv9u1l7ha.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <f32d2e8c-abec-0ec1-daa7-4c10470c5553@jeffhostetler.com>
Jeff Hostetler <git@jeffhostetler.com> writes:
Show 5 quoted lines
> It would be nice if we could continue to let parse_list_objects_filter() > do the syntax checking -- that is, we can still check that we received a > ulong in "blob:limit:<nr>" and that "sparse:oid:<oid>" looks like a hex > value, for example. Just save the actual <oid> lookup to the higher > layer, if and when that makes sense.
Hmmm, am I misremembering things or did I hear somebody mention in this thread that people give "sparse:oid:master" (not blob object name in hex, but a refname) and expect the other side to resolve it?