René Scharfe wrote: > Avoid code duplication and let strbuf_addstr() call strlen() for us.
Nice. > Signed-off-by: Rene Scharfe <l....@web.de> > --- > builtin/commit.c | 2 +- > diff.c | 12 ++++++------ > path.c | 6 +++--- > 3 files changed, 10 insertions(+), 10 deletions(-) Reviewed-by: Jonathan Nieder <jrnie...@gmail.com> -- 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://vger.kernel.org/majordomo-info.html