-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(git): add support for :: in #committish (#91)
This iterates on the spec outlined by @coreyfarrel in #46. For each :: separated item: * If the item has no : then it is a commit-ish * If the item has : then split into name and value. * If the name is semver then do semver lookup of ref or tag * If the name is path then use the value as the subdir to install from. * If the name is unknown then warn that the name-value pair is being ignored. This loop errors if duplicate values are found. Unknown values log a warning instead of erroring. Co-authored-by: sspiff <sspiff@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
96 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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