]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/branch.c
branch, tag: use porcelain output
authorKarthik Nayak <karthik.188@gmail.com>
Tue, 10 Jan 2017 08:49:51 +0000 (14:19 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Jan 2017 20:43:04 +0000 (12:43 -0800)
commit56b43607f975841e70203e55bba3c0b0228da6b0
tree257ef9269e5b291bf5231d76a5a375ef7fa05a63
parent6eac70fa6343a31b5b310a465a442adb6731a26b
branch, tag: use porcelain output

Call ref-filter's setup_ref_filter_porcelain_msg() to enable
translated messages for the %(upstream:tack) atom. Although branch.c
doesn't currently use ref-filter's printing API's, this will ensure
that when it does in the future patches, we do not need to worry about
translation.

Written-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Mentored-by: Christian Couder <christian.couder@gmail.com>
Mentored-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c
builtin/tag.c