Re: [RFC 03/11] Allow programs to not depend on remotes having urls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 29 July 2009, Alex Riesen wrote:
> On Mon, Jul 27, 2009 at 03:04, Johan Herland<johan@xxxxxxxxxxx> wrote:
> > diff --git a/builtin-fetch.c b/builtin-fetch.c
> > index 817dd6b..3f32db6 100644
> > --- a/builtin-fetch.c
> > +++ b/builtin-fetch.c
> > @@ -346,12 +346,17 @@ static int store_updated_refs(const char
> > *raw_url, const char *remote_name, +               if (url) {
> > +                       url_len = strlen(url);
> > +                       for (i = url_len - 1; url[i] == '/' && 0 <= i;
> > i--) +                               ;
> > +                       url_len = i + 1;
> > +                       if (4 < i && !strncmp(".git", url + i - 3, 4))
> > +                               url_len = i - 3;
> > +               } else {
> > +                       url = "foriegn";
>
> Typo. Should be "foreign".

Thanks. Will be fixed in the next iteration of this topic.

...Johan

-- 
Johan Herland, <johan@xxxxxxxxxxx>
www.herland.net

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]