diff options
author | René Scharfe <l.s.r@web.de> | 2014-07-17 01:38:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-17 22:33:52 +0200 |
commit | cedc61a99804db99f9a658c3cccd5c2786a28501 (patch) | |
tree | 7bc10fd908eba7b65762badba1a4e27a42c696ae /submodule.h | |
parent | fsck: simplify fsck_commit_buffer() by using commit_list_count() (diff) | |
download | git-cedc61a99804db99f9a658c3cccd5c2786a28501.tar.xz git-cedc61a99804db99f9a658c3cccd5c2786a28501.zip |
strbuf: use strbuf_addstr() for adding C strings
Avoid code duplication and let strbuf_addstr() call strlen() for us.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
0 files changed, 0 insertions, 0 deletions