]> git.ipfire.org Git - thirdparty/git.git/commit - quote.c
for-each-ref, quote: convert *_quote_print -> *_quote_buf
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tue, 30 Jul 2013 08:31:25 +0000 (14:01 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Jul 2013 15:06:27 +0000 (08:06 -0700)
commit10d0167fef35c7a4e4e3ef9dd448594b62089c5a
tree367433861d0aebab3512ce7a82efe5c1d7d9eb36
parent8f6a3e5d71fa1800c3f330bab2b6b6399ec7aea7
for-each-ref, quote: convert *_quote_print -> *_quote_buf

The print_value() function in for-each-ref.c prints values to stdout
immediately using {sq|perl|python|tcl}_quote_print().  Change these
lower-level quote functions to instead leave their results in strbuf
so that we can later add post-processing to the results of them.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/for-each-ref.c
quote.c
quote.h