From: Thomas Rast Date: Wed, 27 Nov 2013 19:19:29 GMT Subject: Re: [PATCH] subtree: fix argument validation in add/pull/push Message-ID: <87siuhfy9q.fsf@thomasrast.ch> In-Reply-To: <1385577249-29269-1-git-send-email-Anthony.Baire@irisa.fr> Anthony Baire writes: > When working with a remote repository add/pull/push do not accept a > as parameter but just a . They should accept any > well-formatted ref name. [...] > - update the doc to use instead of [...] > OPTS_SPEC="\ > git subtree add --prefix= > -git subtree add --prefix= > +git subtree add --prefix= > git subtree merge --prefix= > -git subtree pull --prefix= > -git subtree push --prefix= > +git subtree pull --prefix= > +git subtree push --prefix= > git subtree split --prefix= [...] > @@ -68,7 +68,7 @@ COMMANDS > -------- > add:: > Create the subtree by importing its contents > - from the given or and remote . > + from the given or and remote . AFAICS you are changing refspec->commit in the manpage, but commit->ref in the usage message for 'subtree add'? How does this line up? -- Thomas Rast tr@thomasrast.ch