Repository navigation
reference: Replace EnsureTagged with TagNameOnly - #2173
Merged
Merged
Conversation
The common use case for this function is to add a default tag if the reference only has a name. The current behavior only adds the default tag if there is no *tag*, which requires most callers to check for a digest. Change the behavior to only add default tags to name-only references, and change the name to reflect this. The documentation already described the new behavior, so it does not need to be changed. Signed-off-by: Aaron Lehmann <[email protected]>
Current coverage is 51.24% (diff: 0.00%)@@ master #2173 diff @@
==============================================================================
Files 125 125
Lines 11447 11446 -1
Methods 0 0
Messages 0 0
Branches 0 0
==============================================================================
- Hits 7012 5865 -1147
- Misses 3548 4835 +1287
+ Partials 887 746 -141
|
Collaborator
|
LGTM |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The common use case for this function is to add a default tag if the
reference only has a name. The current behavior only adds the default
tag if there is no tag, which requires most callers to check for a
digest. Change the behavior to only add default tags to name-only
references, and change the name to reflect this. The documentation
already described the new behavior, so it does not need to be changed.
cc @dmcgowan