diff options
author | René Scharfe <l.s.r@web.de> | 2020-09-05 14:49:30 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-06 20:15:46 (GMT) |
commit | 1af8b8c0a570ee0b12a19fdd920a3ea09fb22a75 (patch) | |
tree | cd2da63870b04868b3da654be43241f2b5ce7f48 /notes-cache.h | |
parent | 30035d9c66bc2a52352e3ad42b56047f06c20326 (diff) | |
download | git-1af8b8c0a570ee0b12a19fdd920a3ea09fb22a75.zip git-1af8b8c0a570ee0b12a19fdd920a3ea09fb22a75.tar.gz git-1af8b8c0a570ee0b12a19fdd920a3ea09fb22a75.tar.bz2 |
refspec: add and use refspec_appendf()
Add a function for building a refspec using printf-style formatting. It
frees callers from managing their own buffer. Use it throughout the
tree to shorten and simplify its callers.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-cache.h')
0 files changed, 0 insertions, 0 deletions