aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/server/server.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-03-01 19:14:48 +0100
committerGitHub <noreply@github.com>2018-03-01 19:14:48 +0100
commitd8d17e72525d359044192b998b11926a4eecc2c4 (patch)
treed9607299f340ba352b0753679d2e5b1b0ce457ab /plumbing/transport/server/server.go
parent4397264e391b45a8eac147cc7373189d55c640cc (diff)
parente850aea5005fdb2a74d7dcd3267dac4a3612df8a (diff)
downloadgo-git-d8d17e72525d359044192b998b11926a4eecc2c4.tar.gz
Merge pull request #766 from mvdan/patches
Unused params, unused code, make Go tip's vet happy
Diffstat (limited to 'plumbing/transport/server/server.go')
-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