diff options
| author | Olga Telezhnaya <olyatelezhnaya@gmail.com> | 2018-03-29 12:49:45 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-03-29 14:24:47 -0700 |
| commit | e2e7a245459391a06a11b70282177135b3fe111c (patch) | |
| tree | 25d602d5be599b26541ecf7498a464b56d722c20 /commit.c | |
| parent | Git 2.17-rc1 (diff) | |
| download | git-e2e7a245459391a06a11b70282177135b3fe111c.tar.gz git-e2e7a245459391a06a11b70282177135b3fe111c.zip | |
ref-filter: add shortcut to work with strbufs
Add function strbuf_addf_ret() that helps to save a few lines of code.
Function expands fmt with placeholders, append resulting message
to strbuf *sb, and return error code ret.
Signed-off-by: Olga Telezhnaia <olyatelezhnaya@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
