vendor/libgit2/src/transports/git.c in rugged-1.1.1 vs vendor/libgit2/src/transports/git.c in rugged-1.2.0
- old
+ new
@@ -325,21 +325,19 @@
static int _git_close(git_smart_subtransport *subtransport)
{
git_subtransport *t = (git_subtransport *) subtransport;
- assert(!t->current_stream);
+ GIT_ASSERT(!t->current_stream);
GIT_UNUSED(t);
return 0;
}
static void _git_free(git_smart_subtransport *subtransport)
{
git_subtransport *t = (git_subtransport *) subtransport;
-
- assert(!t->current_stream);
git__free(t);
}
int git_smart_subtransport_git(git_smart_subtransport **out, git_transport *owner, void *param)