diff options
| author | Vicent Martà <vicent@github.com> | 2012-10-01 08:28:46 -0700 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2012-10-01 08:28:46 -0700 |
| commit | bdaa40d3da5f57be275b2f1ba8d04253a2fcaea7 (patch) | |
| tree | 2a07a140b7e6352ab6f97d5ca382eafd4ed96dcd /src/protocol.c | |
| parent | 2af1c266415bd2030cdfef8ec170a6c135e12b75 (diff) | |
| parent | 3230a44f4c951cbaeadfa5ae111f6558298dfc61 (diff) | |
| download | libgit2-bdaa40d3da5f57be275b2f1ba8d04253a2fcaea7.tar.gz | |
Merge pull request #957 from carlosmn/include-tag
Include tag
Diffstat (limited to 'src/protocol.c')
| -rw-r--r-- | src/protocol.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/protocol.c b/src/protocol.c index 4526c857d..8f673cda7 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -80,6 +80,12 @@ int git_protocol_detect_caps(git_pkt_ref *pkt, git_transport_caps *caps) continue; } + if(!git__prefixcmp(ptr, GIT_CAP_INCLUDE_TAG)) { + caps->common = caps->include_tag = 1; + ptr += strlen(GIT_CAP_INCLUDE_TAG); + continue; + } + /* Keep side-band check after side-band-64k */ if(!git__prefixcmp(ptr, GIT_CAP_SIDE_BAND_64K)) { caps->common = caps->side_band_64k = 1; |
