aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/server
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2018-03-01 17:03:32 +0000
committerDaniel Martí <mvdan@mvdan.cc>2018-03-01 17:12:58 +0000
commitede92fa7ff9a6c5a61245e2ebeaa4d3929a37ce8 (patch)
treee99cf26f0a460240477bb52bdae1b5ea0832c3c8 /plumbing/transport/server
parent65886144d1e19b563c4e8854ba1cd0d532fea532 (diff)
downloadgo-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.go11
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