-
Notifications
You must be signed in to change notification settings - Fork 534
Conversation
c.Assert(err, IsNil) | ||
s.ReceivePackSuite.NonExistentEndpoint = ep | ||
|
||
fmt.Println("BASE", base) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover?
@@ -329,10 +333,12 @@ func (s *session) checkNotFoundError() error { | |||
} | |||
|
|||
var ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a question, why these strings are variables instead of constants?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they could actually be constants ;)
Codecov Report
@@ Coverage Diff @@
## master #418 +/- ##
=========================================
- Coverage 77.76% 77.2% -0.57%
=========================================
Files 124 124
Lines 9014 9019 +5
=========================================
- Hits 7010 6963 -47
- Misses 1231 1298 +67
+ Partials 773 758 -15
Continue to review full report at Codecov.
|
* at low level, ReceivePack must close its stream to the server to signal it has finished. * remote.go: Close() must be called on session.
"ERR access denied or repository not exported:" is now detected as transport.ErrRepositoryNotFound, since that's what git-daemon returns when --informative-errors is not used.
This PR should fix this issue: #310
Push was getting blocked with
git
andssh
transport because connection was not closed properly.This is fixed in the first commit of the PR. All the others are fixing other issues
that arised while adding code to test the original issue.