Merge branch 'rs/cleanup-strbuf-users'

Code clean-up.

* rs/cleanup-strbuf-users:
  graph: use strbuf_addchars() to add spaces
  use strbuf_addstr() for adding strings to strbufs
  path: use strbuf_add_real_path()
This commit is contained in:
Junio C Hamano
2017-10-05 13:48:19 +09:00
5 changed files with 8 additions and 12 deletions

View File

@ -1233,8 +1233,8 @@ static int write_with_updates(struct packed_ref_store *refs,
}
if (ok != ITER_DONE) {
strbuf_addf(err, "unable to write packed-refs file: "
"error iterating over old contents");
strbuf_addstr(err, "unable to write packed-refs file: "
"error iterating over old contents");
goto error;
}