diff options
| author | René Scharfe <l.s.r@web.de> | 2020-09-05 16:49:30 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-09-06 13:15:46 -0700 |
| commit | 1af8b8c0a570ee0b12a19fdd920a3ea09fb22a75 (patch) | |
| tree | cd2da63870b04868b3da654be43241f2b5ce7f48 /commit.h | |
| parent | push: release strbufs used for refspec formatting (diff) | |
| download | git-1af8b8c0a570ee0b12a19fdd920a3ea09fb22a75.tar.gz git-1af8b8c0a570ee0b12a19fdd920a3ea09fb22a75.zip | |
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 'commit.h')
0 files changed, 0 insertions, 0 deletions
