diff --git a/tests/libgit2/checkout/checkout_helpers.c b/tests/libgit2/checkout/checkout_helpers.c index 2490a5721..e951e57ac 100644 --- a/tests/libgit2/checkout/checkout_helpers.c +++ b/tests/libgit2/checkout/checkout_helpers.c @@ -90,8 +90,10 @@ int checkout_count_callback( if (ct->debug) { if (workdir) fprintf(stderr, "M %s\n", workdir->path); - else + else if (baseline) fprintf(stderr, "D %s\n", baseline->path); + else + fprintf(stderr, "invalid notification - no workdir or baseline path\n"); } }