-
Notifications
You must be signed in to change notification settings - Fork 746
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support fetching/checkouts of non-branch/-tag git refs (#322)
* Support fetching/checkouts of non-branch/-tag git refs Provides a `source.git.ref` field for specifying a specific non-branch non-tag git ref at which to perform a checkout. Providing one will result in a shallow (depth 1) clone of the repo and shallow subsequent fetches. The motivation for this change is to support sourcing of trigger templates from Gerrit patchsets. Gerrit uses non-branch/-tag refs extensively and specifically in this case stores change patchsets in `refs/changes/[slice]/[change]/[patchset]`. While arbitrary refs are kind of an obscure git feature, there very well may be other git based systems utilizing them. * Fixed protobuf field index for Ref
- Loading branch information
1 parent
30aedd1
commit 6a5a622
Showing
4 changed files
with
48 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters