Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sequencer: add a new function to silence a command, except if it fails
[gitweb.git]
/
list-objects-filter-options.c
diff --git
a/list-objects-filter-options.c
b/list-objects-filter-options.c
index 6a3cc985c45e751dd0c3f37880cf0bfd205ef088..c0e2bd6a06a27b6056364c43b003d74539fd6cad 100644
(file)
--- a/
list-objects-filter-options.c
+++ b/
list-objects-filter-options.c
@@
-146,6
+146,8
@@
void partial_clone_get_default_filter_spec(
/*
* Parse default value, but silently ignore it if it is invalid.
*/
+ if (!core_partial_clone_filter_default)
+ return;
gently_parse_list_objects_filter(filter_options,
core_partial_clone_filter_default,
NULL);