From ede92fa7ff9a6c5a61245e2ebeaa4d3929a37ce8 Mon Sep 17 00:00:00 2001 From: Daniel Martí Date: Thu, 1 Mar 2018 17:03:32 +0000 Subject: all: remove some unused code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Martí --- plumbing/transport/server/server.go | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'plumbing/transport') 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 -- cgit