From: "Bertrand Jacquin" <beber.mailing@gmail.com>
To: pasky@suse.cz
Cc: "Git Mailing List" <git@vger.kernel.org>
Subject: Push over HTTP now works with refs/heads/foo instead of foo
Date: Mon, 24 Apr 2006 11:36:13 +0200 [thread overview]
Message-ID: <4fb292fa0604240236m44bf1c0bm21f851a1f834f070@mail.gmail.com> (raw)
Hi,
git-http-push now accept :
git-http-push http://doo.com/git/bar.git/ master:refs/heads/pr/my_passwd
instead of :
git-http-push http://doo.com/git/bar.git/ master:pr/my_passwd
And old syntax doesn't work anymore (unable to create remote branches).
Here is a patch :
diff -Nur cogito-0.17.2/cg-push cogito-0.17.2-mine/cg-push
--- cogito-0.17.2/cg-push 2006-04-08 03:02:49.000000000 +0200
+++ cogito-0.17.2-mine/cg-push 2006-04-24 11:33:34.748845600 +0200
@@ -69,8 +69,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" "${tags[@]}"
+ git-http-push "$uri/" "$locbranch$sprembranch" "${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
--
Beber
#e.fr@freenode
reply other threads:[~2006-04-24 9:36 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=4fb292fa0604240236m44bf1c0bm21f851a1f834f070@mail.gmail.com \
--to=beber.mailing@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).