{"thread":{"id":"3956","subject":"Push over HTTP now works with refs/heads/foo instead of foo","startedAt":"2006-04-24T09:36:13Z","lastAt":"2006-04-24T09:36:13Z","messageCount":1,"participants":["Bertrand Jacquin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"19043","messageId":"4fb292fa0604240236m44bf1c0bm21f851a1f834f070@mail.gmail.com","threadId":"3956","inReplyTo":null,"subject":"Push over HTTP now works with refs/heads/foo instead of foo","fromName":"Bertrand Jacquin","fromEmail":"beber.mailing@gmail.com","sentAt":"2006-04-24T09:36:13Z","receivedAt":"2006-04-24T09:36:13Z","isPatch":false,"sender":{"key":"beber.mailing@gmail.com","avatar":null},"body":"Hi,\n\ngit-http-push now accept :\ngit-http-push http://doo.com/git/bar.git/ master:refs/heads/pr/my_passwd\n\ninstead of :\ngit-http-push http://doo.com/git/bar.git/ master:pr/my_passwd\n\nAnd old syntax doesn't work anymore (unable to create remote branches).\n\nHere is a patch :\n\ndiff -Nur cogito-0.17.2/cg-push cogito-0.17.2-mine/cg-push\n--- cogito-0.17.2/cg-push\t2006-04-08 03:02:49.000000000 +0200\n+++ cogito-0.17.2-mine/cg-push\t2006-04-24 11:33:34.748845600 +0200\n@@ -69,8 +69,7 @@\n sprembranch=\":refs/heads/$rembranch\"\n\n if [ \"${uri#http://}\" != \"$uri\" -o \"${uri#https://}\" != \"$uri\" ]; then\n-\t# git-http-push doesn't like $sprembranch\n-\tgit-http-push \"$uri/\" \"$locbranch:$rembranch\" \"${tags[@]}\"\n+\tgit-http-push \"$uri/\" \"$locbranch$sprembranch\" \"${tags[@]}\"\n elif [ \"${uri#git+ssh://}\" != \"$uri\" ]; then\n  send_pack_update \"$name\" \"$(echo \"$uri\" | sed\n's#^git+ssh://\\([^/]*\\)\\(/.*\\)$#\\1:\\2#')\" \"$locbranch$sprembranch\"\n\"${tags[@]}\"\n elif [ \"${uri#rsync://}\" != \"$uri\" ]; then\n\n\n--\nBeber\n#e.fr@freenode\n"}]}