http-pull fails if the URL doesn't end with a '/'. This patch adds one if needed. Signed-off-by: Andreas Gal <gal@uci.edu> --- http-pull.c 2005-04-25 09:15:45.000000000 -0700 +++ /home/gal/src/git/git-bit/http-pull.c 2005-04-25 09:09:54.000000000 -0700 @@ -76,6 +76,8 @@ url = malloc(strlen(base) + 50); strcpy(url, base); posn = url + strlen(base); + if (posn[-1] != '/') + *posn++ = '/'; strcpy(posn, "objects/"); posn += 8; memcpy(posn, hex, 2); - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Tue Apr 26 02:27:58 2005
This archive was generated by hypermail 2.1.8 : 2005-04-26 02:27:58 EST