[Provide a summary of the change.]
[If exists, provide a link to the corresponding JIRA issue(s).]
| import Foundation | |
| // Proposal... | |
| /// A value that can be included in a payload (`.explicitNone` or `.some`) | |
| /// or completely absent (`.none`). Intended for request payloads. | |
| public enum ExplicitNullEncodable<Wrapped> { | |
| case none | |
| case explicitNone | |
| case some(Wrapped) |
| #!/bin/bash | |
| # determine branch | |
| GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
| # determine which commits you care about | |
| if [ "$GIT_BRANCH" == "master" ]; then | |
| # get commits between "tip of master" and "last tagged release" | |
| LAST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) | |
| COMMITS=$(git log $LAST_TAG..master --pretty=format:"%h - %s (%an)") |
| #!/bin/bash | |
| # SOURCE: https://git-scm.com/docs/githooks | |
| # SOURCE: https://gist.github.com/bartoszmajsak/1396344 | |
| #==================================================================================================# | |
| # Loosely enforces a [PROJECT]-[TICKET] naming structure for Git commits based on Git branch name. # | |
| #==================================================================================================# | |
| BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD 2> /dev/null) |
I hereby claim:
To claim this, I am signing this object: