Skip to content
  • Georges Racinet's avatar
    HgGitRepository: attribute to skip Git hooks for tests · db821ec4ea3f
    Georges Racinet authored
    This new attribute is not meant to be used in any other context
    than RSpec tests, whence the name. It allows us to use higher
    level methods such as `multi_action` in tests setups and will be
    necessary to test them.
    
    Upstream does something similar with no need to involve the tested code:
    they launch Gitaly server with the `GITALY_TESTING_NO_GIT_HOOKS` environment
    variable.
    db821ec4ea3f