{"thread":{"id":"307","subject":"Re: Git-commits mailing list feed.","startedAt":"2005-04-25T15:47:13Z","lastAt":"2005-04-25T16:21:15Z","messageCount":2,"participants":["Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>","Andreas Gal"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"1616","messageId":"E1DQ5nn-0003au-QN@be1.7eggert.dyndns.org","threadId":"307","inReplyTo":"3X1G1-7ug-9@gated-at.bofh.it","subject":"Re: Git-commits mailing list feed.","fromName":"Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>","fromEmail":"7eggert@gmx.de","sentAt":"2005-04-25T15:47:13Z","receivedAt":"2005-04-25T15:47:13Z","isPatch":false,"sender":{"key":"7eggert@gmx.de","avatar":"https://gravatar.com/avatar/9a1c1647bae71e0616fd65aef20206af544236fff9df4648647acf7a51517dac?d=mp&s=160"},"body":"Matt Domsch <Matt_Domsch@dell.com> wrote:\n\n> --------------\n> sign\n\n> gpg --armor --clearsign --detach-sign --default-key \"${DEFAULT_KEY} -v -v -o -\n> ${1} | \\ ${CUTSIG} > ${1}.sign\n\nUse quotes!\n\n> exit 0\n\nThe exit code should reflect the status from gpg.\nIf gpg failed, you might also want to remove the .sign file.\n\n-- \nTop 100 things you don't want the sysadmin to say:\n37. What is all this I here about static charges destroying computers?\n\n"},{"id":"1618","messageId":"Pine.LNX.4.58.0504250917110.9176@sam.ics.uci.edu","threadId":"307","inReplyTo":"E1DQ5nn-0003au-QN@be1.7eggert.dyndns.org","subject":"[PATCH] Don't fail in http-pull if URL is missing a '/' at the end","fromName":"Andreas Gal","fromEmail":"gal@uci.edu","sentAt":"2005-04-25T16:21:15Z","receivedAt":"2005-04-25T16:21:15Z","isPatch":true,"sender":{"key":"gal@uci.edu","avatar":null},"body":"\nhttp-pull fails if the URL doesn't end with a '/'. This patch adds one if \nneeded.\n\nSigned-off-by: Andreas Gal <gal@uci.edu>\n\n--- http-pull.c\t2005-04-25 09:15:45.000000000 -0700\n+++ /home/gal/src/git/git-bit/http-pull.c\t2005-04-25 09:09:54.000000000 -0700\n@@ -76,6 +76,8 @@\n \turl = malloc(strlen(base) + 50);\n \tstrcpy(url, base);\n \tposn = url + strlen(base);\n+\tif (posn[-1] != '/')\n+\t\t*posn++ = '/';\n \tstrcpy(posn, \"objects/\");\n \tposn += 8;\n \tmemcpy(posn, hex, 2);\n\n"}]}