Re: [PATCH v4 06/11] replace: bypass the type check if -f option is used

2013-09-05 Thread Christian Couder
On Wed, Sep 4, 2013 at 10:44 PM, Junio C Hamano wrote: > Christian Couder writes: > >> If -f option, which means '--force', is used, we can allow an object >> to be replaced with one of a different type, as the user should know >> what (s)he is doing. >> >> Signed-off-by: Christian Couder >> ---

Re: [PATCH v4 06/11] replace: bypass the type check if -f option is used

2013-09-04 Thread Junio C Hamano
Christian Couder writes: > If -f option, which means '--force', is used, we can allow an object > to be replaced with one of a different type, as the user should know > what (s)he is doing. > > Signed-off-by: Christian Couder > --- This does not matter in a larger picture, but between 1/11 and

[PATCH v4 06/11] replace: bypass the type check if -f option is used

2013-09-03 Thread Christian Couder
If -f option, which means '--force', is used, we can allow an object to be replaced with one of a different type, as the user should know what (s)he is doing. Signed-off-by: Christian Couder --- builtin/replace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/replace