From: Junio C Hamano Date: Tue, 27 Jan 2009 04:58:30 GMT Subject: Re: [PATCH] http-push: refactor request url creation Message-ID: <7vskn51h1l.fsf@gitster.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: >> curl strdup's it, so this is safe. > > I might have mentioned that things like this _need_ to go into the commit > message. Yeah, and let's not forget advice from Daniel Stenberg. I'm not sure what the oldest possibly libcurl version git can deal with, but here's a related quote from the curl_easy_setopt man page: NOTE: before 7.17.0 strings were not copied. Instead the user was forced keep them available until libcurl no longer needed them.