branch: implement '--format' option
authorKarthik Nayak <redacted>
Tue, 10 Jan 2017 08:49:53 +0000 (14:19 +0530)
committerJunio C Hamano <redacted>
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 <redacted>
Mentored-by: Matthieu Moy <redacted>
Signed-off-by: Karthik Nayak <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-branch.txt
builtin/branch.c
t/t3203-branch-output.sh
git clone https://git.99rst.org/PROJECT