diff options
author | Daniel Martí <mvdan@mvdan.cc> | 2018-03-01 17:03:32 +0000 |
---|---|---|
committer | Daniel Martí <mvdan@mvdan.cc> | 2018-03-01 17:12:58 +0000 |
commit | ede92fa7ff9a6c5a61245e2ebeaa4d3929a37ce8 (patch) | |
tree | e99cf26f0a460240477bb52bdae1b5ea0832c3c8 /plumbing/transport/server | |
parent | 65886144d1e19b563c4e8854ba1cd0d532fea532 (diff) | |
download | go-git-ede92fa7ff9a6c5a61245e2ebeaa4d3929a37ce8.tar.gz |
all: remove some unused code
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Diffstat (limited to 'plumbing/transport/server')
-rw-r--r-- | plumbing/transport/server/server.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/plumbing/transport/server/server.go b/plumbing/transport/server/server.go index 2357bd6..20bd12e 100644 --- a/plumbing/transport/server/server.go +++ b/plumbing/transport/server/server.go @@ -298,17 +298,6 @@ func (s *rpSession) updateReferences(req *packp.ReferenceUpdateRequest) { } } -func (s *rpSession) failAtomicUpdate() (*packp.ReportStatus, error) { - rs := s.reportStatus() - for _, cs := range rs.CommandStatuses { - if cs.Error() == nil { - cs.Status = "atomic updated" - } - } - - return rs, s.firstErr -} - func (s *rpSession) writePackfile(r io.ReadCloser) error { if r == nil { return nil |