The checked out odb/qt/version-build2.hxx will be overwritten during the build process but these changes should be ignored. To do this automatically, run: git update-index --assume-unchanged odb/qt/version-build2.hxx