git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Git-commits mailing list feed.
       [not found]                   ` <3X1G1-7ug-9@gated-at.bofh.it>
@ 2005-04-25 15:47                     ` Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>
  2005-04-25 16:21                       ` [PATCH] Don't fail in http-pull if URL is missing a '/' at the end Andreas Gal
  0 siblings, 1 reply; 2+ messages in thread
From: Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org> @ 2005-04-25 15:47 UTC (permalink / raw)
  To: Matt Domsch, David A. Wheeler, Paul Jakma, Linus Torvalds, Sean,
	Thomas Glanzmann, David Woodhouse, Jan Dittmer, Greg KH,
	Kernel Mailing List, Git Mailing List

Matt Domsch <Matt_Domsch@dell.com> wrote:

> --------------
> sign

> gpg --armor --clearsign --detach-sign --default-key "${DEFAULT_KEY} -v -v -o -
> ${1} | \ ${CUTSIG} > ${1}.sign

Use quotes!

> exit 0

The exit code should reflect the status from gpg.
If gpg failed, you might also want to remove the .sign file.

-- 
Top 100 things you don't want the sysadmin to say:
37. What is all this I here about static charges destroying computers?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] Don't fail in http-pull if URL is missing a '/' at the end
  2005-04-25 15:47                     ` Git-commits mailing list feed Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>
@ 2005-04-25 16:21                       ` Andreas Gal
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Gal @ 2005-04-25 16:21 UTC (permalink / raw)
  To: Git Mailing List


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);


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-25 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3WtO4-5GW-5@gated-at.bofh.it>
     [not found] ` <3WtXG-5Nh-9@gated-at.bofh.it>
     [not found]   ` <3WtXG-5Nh-7@gated-at.bofh.it>
     [not found]     ` <3WwLT-848-13@gated-at.bofh.it>
     [not found]       ` <3WxeV-5S-9@gated-at.bofh.it>
     [not found]         ` <3WxHT-pv-1@gated-at.bofh.it>
     [not found]           ` <3Wyb3-Sj-33@gated-at.bofh.it>
     [not found]             ` <3WyDZ-1a6-7@gated-at.bofh.it>
     [not found]               ` <3WYRN-5lJ-9@gated-at.bofh.it>
     [not found]                 ` <3X0gU-6u6-5@gated-at.bofh.it>
     [not found]                   ` <3X1G1-7ug-9@gated-at.bofh.it>
2005-04-25 15:47                     ` Git-commits mailing list feed Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>
2005-04-25 16:21                       ` [PATCH] Don't fail in http-pull if URL is missing a '/' at the end Andreas Gal

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).