4.0.0: git_repository patch_cmds can no longer inspect git references #12953
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
stale
Issues or PRs that are stale (no activity for 30 days)
team-OSS
Issues for the Bazel OSS team: installation, release processBazel packaging, website
type: support / not a bug (process)
Description of the problem / feature request:
Using commands like
patch_cmds = ["git ... origin/smth .. HEAD^"]
worked in 3.3.1 but broke in 4.0.0Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
WORKSPACE
This was useful to make assertions on commits, like commit is successor (or ancestor) of certain branches. This isn't super important case (going away from git_repository to http_archive is said to be faster/more cacheable) but still a breaking change going from 3.3.1 to 4.0.0
What operating system are you running Bazel on?
NixOS
What's the output of
bazel info release
?4.0.0
Any other information, logs, or outputs that you want to share?
#12455
The text was updated successfully, but these errors were encountered: