Re: [PATCH] commit.c: use strchrnul() to scan for one line

2016-05-16 Thread Junio C Hamano
Johannes Schindelin writes: > On Sun, 15 May 2016, Junio C Hamano wrote: > >> diff --git a/commit.c b/commit.c >> index 3f4f371..1f9ee8a 100644 >> --- a/commit.c >> +++ b/commit.c >> @@ -415,8 +415,7 @@ int find_commit_subject(const char *commit_buffer, const >> char **subject) >> p

Re: [PATCH] commit.c: use strchrnul() to scan for one line

2016-05-15 Thread Johannes Schindelin
Hi Junio, On Sun, 15 May 2016, Junio C Hamano wrote: > diff --git a/commit.c b/commit.c > index 3f4f371..1f9ee8a 100644 > --- a/commit.c > +++ b/commit.c > @@ -415,8 +415,7 @@ int find_commit_subject(const char *commit_buffer, const > char **subject) > p++; > if (*p) { >

[PATCH] commit.c: use strchrnul() to scan for one line

2016-05-15 Thread Junio C Hamano
Signed-off-by: Junio C Hamano --- commit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commit.c b/commit.c index 3f4f371..1f9ee8a 100644 --- a/commit.c +++ b/commit.c @@ -415,8 +415,7 @@ int find_commit_subject(const char *commit_buffer, const char **subject)