summaryrefslogtreecommitdiffstats
path: root/builtin/mktree.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2024-08-15 19:31:17 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-15 20:29:15 +0200
commit25b78668de62ac2f503ee5957e174474bd51ae6c (patch)
treea22ab1b81e3e6f088695ce266c5e0b791e9699c2 /builtin/mktree.c
parentt/t5333-pseudo-merge-bitmaps.sh: demonstrate empty pseudo-merge groups (diff)
downloadgit-25b78668de62ac2f503ee5957e174474bd51ae6c.tar.xz
git-25b78668de62ac2f503ee5957e174474bd51ae6c.zip
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 'builtin/mktree.c')
0 files changed, 0 insertions, 0 deletions