1 2 3 4 5 6 7 8
#include "../git-compat-util.h" char *gitstrchrnul(const char *s, int c) { while (*s && *s != c) s++; return (char *)s; }