This commit changes the `gogit` behavior for commit checkouts, now allowing one to reference to just a commit while omitting any branch reference. Doing this creates an Artifact with a `HEAD/<commit>` revision. If both a `branch` and `commit` are defined, the commit is expected to exist within the branch. This results in a more efficient clone of just the target branch, and also makes this change backwards compatible. Fixes #407 Fixes #315 Signed-off-by: Hidde Beydals <hello@hidde.co> |
||
|---|---|---|
| .. | ||
| artifact_types.go | ||
| bucket_types.go | ||
| condition_types.go | ||
| doc.go | ||
| gitrepository_types.go | ||
| groupversion_info.go | ||
| helmchart_types.go | ||
| helmrepository_types.go | ||
| source.go | ||
| zz_generated.deepcopy.go | ||