Re: [PATCH] list-objects: check if filter is NULL before using

2018-06-12 Thread Junio C Hamano
Jonathan Tan writes: > In partial_clone_get_default_filter_spec(), the > core_partial_clone_filter_default variable may be NULL; ensure that it > is not NULL before using it. > > Signed-off-by: Jonathan Tan > --- > This was noticed by someone else at $DAY_JOB when trying to use a > partial

[PATCH] list-objects: check if filter is NULL before using

2018-06-11 Thread Jonathan Tan
In partial_clone_get_default_filter_spec(), the core_partial_clone_filter_default variable may be NULL; ensure that it is not NULL before using it. Signed-off-by: Jonathan Tan --- This was noticed by someone else at $DAY_JOB when trying to use a partial clone with no core.partialclonefilter set.