Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
use strbuf_addbuf() for appending a strbuf to another
[gitweb.git]
/
wt-status.c
diff --git
a/wt-status.c
b/wt-status.c
index ced53dd1d49eb641f5505a8a75502e95de356c3c..51c0d7fea745c05471527a0f28011c4db32dd822 100644
(file)
--- a/
wt-status.c
+++ b/
wt-status.c
@@
-1060,7
+1060,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_add
f(line, "%s", split[i]->buf
);
+ strbuf_add
buf(line, split[i]
);
}
}
for (i = 0; split[i]; i++)