Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

capability: support empty input on Decode. #153

Merged
merged 1 commit into from
Nov 30, 2016
Merged

capability: support empty input on Decode. #153

merged 1 commit into from
Nov 30, 2016

Conversation

smola
Copy link
Collaborator

@smola smola commented Nov 30, 2016

Calling capability.List's Decode with nil input will have no effect.
This is useful in other decoders, where an empty capability list is
received as an empty byte slice.

Calling capability.List's Decode with nil input will have no effect.
This is useful in other decoders, where an empty capability list is
received as an empty byte slice.
@mcuadros mcuadros merged commit b054b98 into src-d:master Nov 30, 2016
@smola smola deleted the capabilities-decode-fix-empty branch December 1, 2016 09:29
mcuadros pushed a commit that referenced this pull request Jan 31, 2017
Calling capability.List's Decode with nil input will have no effect.
This is useful in other decoders, where an empty capability list is
received as an empty byte slice.
gsalingu-ovhus pushed a commit to gsalingu-ovhus/go-git that referenced this pull request Mar 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants