git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Beber <beber.lkml@gmail.com>
To: pasky@suse.cz
Cc: git@vger.kernel.org
Subject: [PATCH] Cogito: Handle push over http
Date: Mon, 23 Jan 2006 00:57:10 +0100	[thread overview]
Message-ID: <4615f4910601221557u1dc37233ue2e3c312547a14de@mail.gmail.com> (raw)

[-- 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

                 reply	other threads:[~2006-01-22 23:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4615f4910601221557u1dc37233ue2e3c312547a14de@mail.gmail.com \
    --to=beber.lkml@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=pasky@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).