Signed-off-by: Christian Couder <chriscool@xxxxxxxxxxxxx> --- external-odb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/external-odb.c b/external-odb.c index 893937a7d4..6d4fdd0bc1 100644 --- a/external-odb.c +++ b/external-odb.c @@ -133,6 +133,10 @@ int external_odb_write_object(const void *buf, size_t len, { struct odb_helper *o; + /* For now accept only blobs */ + if (strcmp(type, "blob")) + return 1; + external_odb_init(); for (o = helpers; o; o = o->next) { -- 2.13.1.565.gbfcd7a9048