On 9/9/2019 1:12 PM, Junio C Hamano wrote:
Jeff Hostetler <git@xxxxxxxxxxxxxxxxx> writes:
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?
You're right. I misspoke. I was thinking about the hex OID case
and forgetting about the <rev>:<path> form.
Jeff