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

[PATCH] cogito: Push tags over http

From
DSDennis Stosberg <dennis@stosberg.net>
Date
Mar 27, 2006, 19:12 UTC
Message-ID
<20060327191211.G54ad5023@leonov.stosberg.net>
A trivial patch for cg-push allows to push tags over http.
Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
---
 cg-push |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
e9540d5f524c54102a93570031fb59156cec4188
diff --git a/cg-push b/cg-push
index b6b8954..4332b28 100755
--- a/cg-push
+++ b/cg-push
@@ -70,7 +70,7 @@ sprembranch=":refs/heads/$rembranch"
 
 if [ "${uri#http://}" != "$uri" -o "${uri#https://}" != "$uri" ]; then
 	# git-http-push doesn't like $sprembranch
-	git-http-push "$uri/" "$locbranch:$rembranch"
+	git-http-push "$uri/" "$locbranch:$rembranch" "${tags[@]}"
 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
-- 
1.2.GIT
Message 1 of 1 in “cogito: Push tags over http”
  1. cogito: Push tags over httpDennis Stosberg, Mar 27, 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.