status: respect "-b" for porcelain format
commitd4a6bf1fb64d904e210fbf7c5b330b06438a5bd5
authorJeff King <peff@peff.net>
Mon, 7 May 2012 21:09:04 +0000 (7 17:09 -0400)
committerJeff King <peff@peff.net>
Tue, 8 May 2012 08:51:08 +0000 (8 04:51 -0400)
treee730861e04c858757025a81f93df92d3f10e8729
parenta5985237878481af5fbca349d0d1ad7d6b2d2bcb
status: respect "-b" for porcelain format

There is no reason not to, as the user has to explicitly ask
for it, so we are not breaking compatibility by doing so. We
can do this simply by moving the "show_branch" flag into
the wt_status struct. As a bonus, this saves us from passing
it explicitly, simplifying the code.

Signed-off-by: Jeff King <peff@peff.net>
Documentation/git-status.txt
builtin/commit.c
t/t7508-status.sh
wt-status.c
wt-status.h