Merge branch 'rs/use-strbuf-addbuf'
[git/git.git] / wt-status.c
index de62ab2..19cbc39 100644 (file)
@@ -1063,7 +1063,7 @@ static void abbrev_sha1_in_line(struct strbuf *line)
                        strbuf_addf(split[1], "%s ", abbrev);
                        strbuf_reset(line);
                        for (i = 0; split[i]; i++)
-                               strbuf_addf(line, "%s", split[i]->buf);
+                               strbuf_addbuf(line, split[i]);
                }
        }
        strbuf_list_free(split);