threads / patch / 3130

patchCogito: Handle push over http

Subject: [PATCH] Cogito: Handle push over http

## tl;dr

One message between Jan 22, 2006 and Jan 22, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Beber· Jan 22, 2006, 23:57 UTC · lore
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
Show changes to cg-push +1 −1
--- 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

← back to recent threads