summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2024-08-15 13:31:17 -0400
committerJunio C Hamano <gitster@pobox.com>2024-08-15 11:29:15 -0700
commit25b78668de62ac2f503ee5957e174474bd51ae6c (patch)
treea22ab1b81e3e6f088695ce266c5e0b791e9699c2 /commit.c
parent42f80e361c59b7afc0258e44299fa0263c4cfbaf (diff)
pseudo-merge.c: do not generate empty pseudo-merge commits
The previous commit demonstrated it is possible to generate empty pseudo-merge commits, which is not useful as such pseudo-merges carry no information. Ensure that we only generate non-empty groups by not pushing a new commit onto the bitmap_writer when that commit has no parents. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions