fix other cases where git hooks fail due to old commits
Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/428
Simply omitted the check for a new branch push, and always apply "do not run git hooks on old commits" logic.
Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/428
Simply omitted the check for a new branch push, and always apply "do not run git hooks on old commits" logic.