Skip to content

Commit

Permalink
fix: add commit property in new_git_repository (bazelbuild#1910)
Browse files Browse the repository at this point in the history
  • Loading branch information
opicaud committed Aug 24, 2023
1 parent 922d4e6 commit d0c9a34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crate_universe/module_extensions/crate.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ def _crate_impl(module_ctx):
remote = repo["remote"],
build_file_content = build_file_content,
strip_prefix = repo.get("strip_prefix", None),
**repo["commitish"]
commit = repo["commitish"].get("Rev", None),
#**repo["commitish"]
)
else:
fail("Invalid repo: expected Http or Git to exist for crate %s-%s, got %s" % (name, version, repo))
Expand Down

0 comments on commit d0c9a34

Please sign in to comment.