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

Support fetching/checkouts of non-branch/-tag git refs #322

Merged
merged 3 commits into from
Aug 2, 2019

Commits on Jul 31, 2019

  1. 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.
    marxarelli committed Jul 31, 2019
    Configuration menu
    Copy the full SHA
    7b2d05d View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2019

  1. Configuration menu
    Copy the full SHA
    a7faefe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f16326 View commit details
    Browse the repository at this point in the history