summaryrefslogtreecommitdiff
path: root/ref-filter.h
diff options
context:
space:
mode:
authorOlga Telezhnaya <olyatelezhnaya@gmail.com>2018-03-29 12:49:45 +0000
committerJunio C Hamano <gitster@pobox.com>2018-03-29 14:24:47 -0700
commite2e7a245459391a06a11b70282177135b3fe111c (patch)
tree25d602d5be599b26541ecf7498a464b56d722c20 /ref-filter.h
parent085f5f95a2723e8f9f4d037c01db5b786355ba49 (diff)
downloadgit-e2e7a245459391a06a11b70282177135b3fe111c.tar.gz
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 'ref-filter.h')
0 files changed, 0 insertions, 0 deletions