Re: Make "git-ls-files" work in subdirectories

2005-08-21 Thread YOSHIFUJI Hideaki /
In article <[EMAIL PROTECTED]> (at Sun, 21 Aug 2005 16:17:52 -0700 (PDT)), Linus Torvalds <[EMAIL PROTECTED]> says: > getopt() is too limited, and getopt_long() is very glibc-specific and thus > inherently evil. And the complexity of doing autoconf or similar is worse > than just doing it by hand

Re: [PATCH 2/2] GIT: Listen on IPv6 as well, if available.

2005-07-22 Thread YOSHIFUJI Hideaki /
In article <[EMAIL PROTECTED]> (at Fri, 22 Jul 2005 23:21:51 +0200), Petr Baudis <[EMAIL PROTECTED]> says: > this whole getaddrinfo() magic looks horribly complicated. What's wrong > on just adding a similar code (or factoring it out to a function) for > IPv6 as there is for IPv4, just s/INET/IN

Re: [PATCH 1/2] GIT: Try all addresses for given remote name

2005-07-22 Thread YOSHIFUJI Hideaki /
In article <[EMAIL PROTECTED]> (at Fri, 22 Jul 2005 23:09:13 +0200), Petr Baudis <[EMAIL PROTECTED]> says: > > -} > > +#define STR_(s)# s > > +#define STR(s) STR_(s) > > Uh-huh? Why two macros? Well, why any macros at all? > : > > + char *colon, *end; > > + char *port = STR(DEFAULT_

[PATCH 2/2] GIT: Listen on IPv6 as well, if available.

2005-07-21 Thread YOSHIFUJI Hideaki /
Hello. Listen on IPv6 as well, if available. Signed-off-by: Hideaki YOSHIFUJI <[EMAIL PROTECTED]> diff --git a/daemon.c b/daemon.c --- a/daemon.c +++ b/daemon.c @@ -3,8 +3,8 @@ #include #include #include +#include #include -#include static const char daemon_usage[] = "git-daemon [--

[PATCH 1/2] GIT: Try all addresses for given remote name

2005-07-21 Thread YOSHIFUJI Hideaki /
Hello. Try all addresses for given remote name until it succeeds. Also supports IPv6. Signed-of-by: Hideaki YOSHIFUJI <[EMAIL PROTECTED]> diff --git a/connect.c b/connect.c --- a/connect.c +++ b/connect.c @@ -96,42 +96,57 @@ static enum protocol get_protocol(const die("I don't handle pr

cg-clone failure

2005-07-10 Thread YOSHIFUJI Hideaki /
Am I doing something wrong? % cg-version cogito-0.12 (a2503fd85e6bb7f25d134a5634a1d8efc93fee5f) % cg-clone -s ../linux-2.6 defaulting to local storage area `/home/yoshfuji/GIT/linux-2.6+test/../linux-2.6/.git/refs/heads/master' -> `.git/refs/heads/origin' progress: 1011 objects, 2976247 bytes d