checkout: suppress tracking message with "-q"
authorJeff King <peff@peff.net>
Mon, 26 Mar 2012 23:51:01 +0000 (19:51 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Mar 2012 04:32:43 +0000 (21:32 -0700)
commitf9a482e62b079cdf9e80889011b6f41f3c17f0c2
tree630f0ab7c658f53a0c72e9dfed39ebcdd1043cf7
parent8ced9c90a28f6abc80dc5ad4cf7921c2322c0bb0
checkout: suppress tracking message with "-q"

Like the "switched to..." message (which is already
suppressed by "-q"), this message is purely informational.
Let's silence it if the user asked us to be quiet.

This patch is slightly more than a one-liner, because we
have to teach create_branch to propagate the flag all the
way down to install_branch_config.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c
branch.h
builtin/branch.c
builtin/checkout.c