Adding check for linear-only commits in git pre-receive commit hook