From 11565c31fb7e976afdf22169506ec66340fcc7cf Mon Sep 17 00:00:00 2001 From: Bruno Postle Date: Fri, 27 Feb 2026 15:12:57 +0000 Subject: [PATCH] Warn about silent entity loss when merging without ifcmerge --- CLAUDE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 235c5f2..9d7ae3d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -599,6 +599,8 @@ IFC files use STEP Physical File format — plain text, one entity per line — `.gitattributes` is already committed to this repo with `*.ifc merge=ifcmerge`. +**Warning:** if `.gitattributes` is not in place (or the merge driver is not configured) when branches are merged, git's standard text merge will silently drop new entities from one branch when two branches have both added entities starting at the same step ID. Always confirm the merge driver is configured before merging IFC branches. + Add the driver to `.git/config` or `~/.gitconfig`: ``` [merge "ifcmerge"]