• Douwe Maan's avatar
    Don't run single change checks when changes are unknown · 3a0ae96c
    Douwe Maan authored
    When the `changes` passed to `GitAccess` are the literal string `_any`,
    which indicates that this is a pre-authorization check, we now check
    whether the user can push to any branch in the project in question,
    instead of running the per-change check with `oldrev` `_any`, `newrev`
    `nil`, and `ref` `nil`.
    3a0ae96c
push_check.rb 526 Bytes