diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-04-16 12:42:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-16 12:42:22 -0700 |
commit | b3ba46945d634d5c79dfa7a63b300a3007d1ca31 (patch) | |
tree | d27024e2a727d48019e605631ba2e81f95275124 /builtin/checkout.c | |
parent | f84e8b6069e87230bf4d13f845748c58d599c572 (diff) | |
parent | d65ddf1984d66e978f0a11e7a4ea2d4eb20193c7 (diff) | |
download | git-b3ba46945d634d5c79dfa7a63b300a3007d1ca31.tar.gz |
Merge branch 'jk/branch-quiet'
Even with "-q"uiet option, "checkout" used to report setting up tracking.
Also "branch" learns "-q"uiet option to squelch informational message.
By Jeff King
* jk/branch-quiet:
teach "git branch" a --quiet option
checkout: suppress tracking message with "-q"
Diffstat (limited to 'builtin/checkout.c')
-rw-r--r-- | builtin/checkout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c index 6b9061f26f..23fc56d88d 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -543,6 +543,7 @@ static void update_refs_for_switch(struct checkout_opts *opts, opts->new_branch_force ? 1 : 0, opts->new_branch_log, opts->new_branch_force ? 1 : 0, + opts->quiet, opts->track); new->name = opts->new_branch; setup_branch_path(new); |