libgit2/libgit2 — pull request #1871 by arrbee (2013-09-24 21:52:24+00:00)
Title: Alternative fix for cross protocol redirects

This takes a somewhat earlier version of @ben's cross protocol redirect work and just extracts some bits of shared code and focuses on preserving the redirect path which was otherwise getting freed.