mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-13 12:33:00 +02:00
feat: add option to fetch remote change history (tags) for GitSource dependencies
PiperOrigin-RevId: 963471221
This commit is contained in:
parent
4a028b9983
commit
f76fc6dcdd
1 changed files with 6 additions and 0 deletions
|
|
@ -1312,6 +1312,12 @@ message Dependency {
|
|||
|
||||
// Required. Where should the files be placed on the worker.
|
||||
string dest_path = 5 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Optional. True if remote tags should be fetched too (default false).
|
||||
// Note: when depth is 1 (default), git fetch only retrieves tags pointing
|
||||
// to commits within the shallow boundary. Set depth to -1 to fetch all
|
||||
// historical tags.
|
||||
bool fetch_tags = 6 [(google.api.field_behavior) = OPTIONAL];
|
||||
}
|
||||
|
||||
// A repository for a git source.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue