Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

irengrig
Copy link
Contributor

@irengrig irengrig commented Aug 2, 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 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