René Scharfe wrote:

> Avoid code duplication and let strbuf_addstr() call strlen() for us.

Nice.

> Signed-off-by: Rene Scharfe <[email protected]>
> ---
>  builtin/commit.c |  2 +-
>  diff.c           | 12 ++++++------
>  path.c           |  6 +++---
>  3 files changed, 10 insertions(+), 10 deletions(-)

Reviewed-by: Jonathan Nieder <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to