git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Cogito: Handle push over http
@ 2006-01-22 23:57 Beber
  0 siblings, 0 replies; only message in thread
From: Beber @ 2006-01-22 23:57 UTC (permalink / raw)
  To: pasky; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 150 bytes --]

Hi,

Here is a patch allow cg-push to push over http.

You can pull http://guybrush.ath.cx/git/public/cogito.git/
Or use attach patch.

Beber

[-- Attachment #2: http-push-for-cg.patch --]
[-- Type: application/octet-stream, Size: 427 bytes --]

--- a/cg-push
+++ b/cg-push
@@ -69,7 +69,7 @@ fi
 sprembranch=":refs/heads/$rembranch"
 
 if [ "${uri#http://}" != "$uri" ]; then
-	die "pushing over HTTP not supported yet"
+	git-http-push "$uri/" $locbranch
 elif [ "${uri#git+ssh://}" != "$uri" ]; then
 	send_pack_update "$name" "$(echo "$uri" | sed 's#^git+ssh://\([^/]*\)\(/.*\)$#\1:\2#')" "$locbranch$sprembranch" "${tags[@]}"
 elif [ "${uri#rsync://}" != "$uri" ]; then

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-22 23:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-22 23:57 [PATCH] Cogito: Handle push over http Beber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).