Skip to content

[BUG] It should not failed hook when no commits yet #251

Closed

Description

@shenxianpeng

Thanks! Seems good except for some of the commands: check-branch, check-author-email and check-commit-signoff

The signoff and email commands both fails with this error:

check failed => Repo has no commits yet.

Originally posted by @jplu in #242

Activity

  1. added
    bug
    on Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions