From: Erik Chen <erikchen@xxxxxxxxxxxx> Signed-off-by: Erik Chen <erikchen@xxxxxxxxxxxx> --- fetch-pack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fetch-pack.c b/fetch-pack.c index f2f3365bbe..5e3eee0477 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -666,6 +666,7 @@ static void mark_complete_and_common_ref(struct fetch_negotiator *negotiator, struct ref *ref; int old_save_commit_buffer = save_commit_buffer; timestamp_t cutoff = 0; + save_commit_buffer = 0; trace2_region_enter("fetch-pack", "mark_complete_and_common_ref", NULL); -- gitgitgadget