-
Notifications
You must be signed in to change notification settings - Fork 124
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-ref/sha/tag #107
fix-ref/sha/tag #107
Conversation
@@ -160,7 +159,7 @@ func (o *CloneOptions) URL() string { | |||
} | |||
|
|||
func (o *CloneOptions) Revision() string { | |||
return plumbing.ReferenceName(o.revision).Short() | |||
return o.revision |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we even need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, when creating an Argo CD Application, the Source.Revision field will contain this value.
return ErrNoRemotes | ||
} | ||
|
||
remoteref := fmt.Sprintf("%s/%s", remotes[0].Config().Name, ref) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets add some debug msgs here and before the checkout
Codecov Report
@@ Coverage Diff @@
## main #107 +/- ##
==========================================
- Coverage 57.49% 55.39% -2.11%
==========================================
Files 12 14 +2
Lines 2148 2282 +134
==========================================
+ Hits 1235 1264 +29
- Misses 834 938 +104
- Partials 79 80 +1
Continue to review full report at Codecov.
|
No description provided.