]> git.ipfire.org Git - thirdparty/git.git/commit - t/t3203-branch-output.sh
branch: implement '--format' option
authorKarthik Nayak <karthik.188@gmail.com>
Tue, 10 Jan 2017 08:49:53 +0000 (14:19 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Jan 2017 20:43:04 +0000 (12:43 -0800)
commit3d9e4ce3ebef4f5aa47dad49f730e085f32b98da
treecada5fd03251f448fedd1754a54945bc0011ef6f
parent949af0684c1f84587504e2143fca6f9bb8504e31
branch: implement '--format' option

Implement the '--format' option provided by 'ref-filter'. This lets the
user list branches as per desired format similar to the implementation
in 'git for-each-ref'.

Add tests and documentation for the same.

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>
Documentation/git-branch.txt
builtin/branch.c
t/t3203-branch-output.sh