diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-31 23:09:28 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-31 23:09:52 +0100 |
commit | a6197bd8c459c7d10717bd9486c17f6c8b3f7f88 (patch) | |
tree | 63180ec210c66fda317c87197d2f6bab508406b6 /plumbing | |
parent | 2308066c28d3cbbfb472fb634c3e10a1c7786cfc (diff) | |
download | go-git-a6197bd8c459c7d10717bd9486c17f6c8b3f7f88.tar.gz |
documentation changes
Diffstat (limited to 'plumbing')
-rw-r--r-- | plumbing/format/index/decoder.go | 5 | ||||
-rw-r--r-- | plumbing/protocol/packp/srvresp.go | 2 | ||||
-rw-r--r-- | plumbing/protocol/packp/updreq.go | 3 | ||||
-rw-r--r-- | plumbing/transport/server/server.go | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/plumbing/format/index/decoder.go b/plumbing/format/index/decoder.go index 1a52fcd..59581da 100644 --- a/plumbing/format/index/decoder.go +++ b/plumbing/format/index/decoder.go @@ -207,9 +207,10 @@ func (d *Decoder) padEntry(idx *Index, e *Entry, read int) error { return nil } -// TODO: support 'Split index' and 'Untracked cache' extensions, take in count -// that they are not supported by jgit or libgit func (d *Decoder) readExtensions(idx *Index) error { + // TODO: support 'Split index' and 'Untracked cache' extensions, take in + // count that they are not supported by jgit or libgit + var expected []byte var err error diff --git a/plumbing/protocol/packp/srvresp.go b/plumbing/protocol/packp/srvresp.go index 0e027b4..95e1e57 100644 --- a/plumbing/protocol/packp/srvresp.go +++ b/plumbing/protocol/packp/srvresp.go @@ -13,8 +13,8 @@ import ( const ackLineLen = 44 // ServerResponse object acknowledgement from upload-pack service -// TODO: implement support for multi_ack or multi_ack_detailed responses type ServerResponse struct { + // TODO: implement support for multi_ack or multi_ack_detailed responses ACKs []plumbing.Hash } diff --git a/plumbing/protocol/packp/updreq.go b/plumbing/protocol/packp/updreq.go index b685999..4337ace 100644 --- a/plumbing/protocol/packp/updreq.go +++ b/plumbing/protocol/packp/updreq.go @@ -15,9 +15,8 @@ var ( // ReferenceUpdateRequest values represent reference upload requests. // Values from this type are not zero-value safe, use the New function instead. -// -// TODO: Add support for push-cert type ReferenceUpdateRequest struct { + // TODO: Add support for push-cert Capabilities *capability.List Commands []*Command Shallow *plumbing.Hash diff --git a/plumbing/transport/server/server.go b/plumbing/transport/server/server.go index 832c127..79b64a1 100644 --- a/plumbing/transport/server/server.go +++ b/plumbing/transport/server/server.go @@ -72,8 +72,8 @@ func (s *session) Close() error { return nil } -//TODO: deprecate func (s *session) SetAuth(transport.AuthMethod) error { + //TODO: deprecate return nil } |