nvm, found solution. It looks like it’s some bug in git version used for core24 builds.
To get it working it was required to force create local tracking branch in override-pull before craftctl default
Glad you found a solution, but if the snapcraft.yaml is located in the project that contains the source code, you can remove source-type and source-branch and the git override.
@mr_cal thank you for your hint. It will be useful in some of my other snaps. But it will not work in that specific case. There snap directory resides in one branch (without any other sources in it) and sources in other (without snap directory). So it’s required to point to branch where sources are explicitly, even if it’s the same (and current) repository …