Re: [PATCH] subtree: fix argument validation in add/pull/push

2013-11-27 Thread Anthony Baire
On 27/11/2013 20:19, Thomas Rast wrote: 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

Re: [PATCH] subtree: fix argument validation in add/pull/push

2013-11-27 Thread Thomas Rast
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 --pre

[PATCH] subtree: fix argument validation in add/pull/push

2013-11-27 Thread Anthony Baire
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. This patch: - relaxes the check the argument in "git subtree add " (previous code would not accept a ref name that does not exist locally too, new