Skip to content

Fix git_repository rule to support fetching a commit on a tag - #9059

Closed
irengrig wants to merge 1 commit into
bazelbuild:masterfrom
irengrig:fix-git-fetch-with-tags
Closed

irengrig wants to merge 1 commit into
bazelbuild:masterfrom
irengrig:fix-git-fetch-with-tags

Conversation

@irengrig

@irengrig irengrig commented Aug 2, 2019

Copy link
Copy Markdown
Contributor

- specified commit may only be present on a tag, not on any branch
- use the verbose references specification in git fetch command
- add black box test
- initially implemented by https://github.com/jamiesnape in bazelbuild#8933, but the suggested solution with --tags flag does not work for CentOS Bazel CI configuration
@bazel-io bazel-io closed this in 2c04648 Aug 2, 2019
katre pushed a commit that referenced this pull request Sep 3, 2019
- specified commit may only be present on a tag, not on any branch
- use the verbose references specification in git fetch command
- add black box test
- initially implemented by https://github.com/jamiesnape in #8933, but the suggested solution with --tags flag does not work for CentOS Bazel CI configuration

Closes #9059.

PiperOrigin-RevId: 261316448
@irengrig
irengrig deleted the fix-git-fetch-with-tags branch October 14, 2019 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants