Re: [PATCH] daemon: be strict at parsing parameters --[no-]informative-errors

2013-12-20 Thread Jonathan Nieder
Hi, Nguyễn Thái Ngọc Duy wrote: > Use strcmp() instead of starts_with() to stop accepting > --informative-errors-just-a-little > > Signed-off-by: Nguyễn Thái Ngọc Duy Good catch. When this use of prefixcmp was introduced in v1.7.8-rc0~28^2 (daemon: give friendlier error messages to clients, 20

[PATCH] daemon: be strict at parsing parameters --[no-]informative-errors

2013-12-20 Thread Nguyễn Thái Ngọc Duy
Use strcmp() instead of starts_with() to stop accepting --informative-errors-just-a-little Signed-off-by: Nguyễn Thái Ngọc Duy --- daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.c b/daemon.c index 7bee953..503e039 100644 --- a/daemon.c +++ b/daemon.c @@ -