diff options
author | Taylor Blau <me@ttaylorr.com> | 2024-08-15 13:31:17 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-15 11:29:15 -0700 |
commit | 25b78668de62ac2f503ee5957e174474bd51ae6c (patch) | |
tree | a22ab1b81e3e6f088695ce266c5e0b791e9699c2 /commit.c | |
parent | 42f80e361c59b7afc0258e44299fa0263c4cfbaf (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