git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Cogito: Handle push over http

From
BBeber <beber.lkml@gmail.com>
Date
Jan 22, 2006, 23:57 UTC
Message-ID
<4615f4910601221557u1dc37233ue2e3c312547a14de@mail.gmail.com>
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
--- 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
Message 1 of 1 in “Cogito: Handle push over http”
  1. Cogito: Handle push over httpBeber, Jan 22, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.