Rohit Mani writes:
> Avoid scanning strings twice, once with strchr() and then with
> strlen(), by using strchrnul().
Thanks. The patch looks good.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
Avoid scanning strings twice, once with strchr() and then with
strlen(), by using strchrnul().
Helped-by: Junio C Hamano
Signed-off-by: Rohit Mani
---
PATCH v2 Updated commit description
Updated code according to suggestions [1]
[1] http://article.gmane.org/gmane.comp.version-control
2 matches
Mail list logo