Phillip Wood <phillip.wood123@xxxxxxxxx> writes: > I spent some time digging into this and the attributes are reloaded > before each pick. This is because check_updates() called by > unpack_trees() calls git_attr_set_direction(GIT_ATTR_CHECKOUT) at the > start of the function and git_attr_set_direction(GIT_ATTR_CHECKIN) at > the end of the function. This has the effect of dropping all loaded > attributes as git_attr_set_direction() calls drop_all_attr_stacks() > when the direction is changed. Ah, OK (and thanks), so it was working by accident ;-)