pack-objects: always write out the status in write_one() Make sure we set the output parameter to a value.
diff --git a/src/pack-objects.c b/src/pack-objects.c
index 7e5f667..ace8afd 100644
--- a/src/pack-objects.c
+++ b/src/pack-objects.c
@@ -406,6 +406,7 @@ static int write_one(
po->delta = NULL;
}
+ *status = WRITE_ONE_WRITTEN;
po->written = 1;
po->recursing = 0;