From: Josh Triplett Date: Tue, 07 Jun 2011 22:25:21 GMT Subject: Re: [PATCH 2/4] Add infrastructure for ref namespaces Message-ID: <20110607222520.GA1761@leaf> In-Reply-To: On Tue, Jun 07, 2011 at 09:12:09PM +0200, Bert Wesarg wrote: > On Tue, Jun 7, 2011 at 20:21, Jamey Sharp wrote: > > diff --git a/git.c b/git.c > > index 89721d4..98cbf7b 100644 > > --- a/git.c > > +++ b/git.c > > @@ -126,6 +126,20 @@ static int handle_options(const char ***argv, int *argc, int *envchanged) > >                        setenv(GIT_DIR_ENVIRONMENT, cmd + 10, 1); > >                        if (envchanged) > >                                *envchanged = 1; > > +               } else if (!strcmp(cmd, "--namespace")) { > > +                       if (*argc < 2) { > > +                               fprintf(stderr, "No directory given for --namespace.\n" ); > > This 'directory' is probably misnamed here. Thanks, will fix. - Josh Triplett