please don't use such a hack in a public library. The resolution of dependencies will not be based on the older commit and the dist install would still use master.