Skip to content

Code monitors: add --glob and --exclude to git rev-parse allowlist

Warren Gifford requested to merge cc/fix-glob-refs into main

Created by: camdencheek

This adds --glob and --exclude to the allowlist for git rev-parse arguments. Their absence was causing failures when we'd attempt to create a code monitor that tracks a globbed set of branches.

Fixes #https://github.com/sourcegraph/sourcegraph/issues/36661

Test plan

Manually tested that creating a monitor locally works now and does not error.

Merge request reports

Loading