aboutsummaryrefslogtreecommitdiff
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-04-16 12:42:22 -0700
committerJunio C Hamano <gitster@pobox.com>2012-04-16 12:42:22 -0700
commitb3ba46945d634d5c79dfa7a63b300a3007d1ca31 (patch)
treed27024e2a727d48019e605631ba2e81f95275124 /builtin/checkout.c
parentf84e8b6069e87230bf4d13f845748c58d599c572 (diff)
parentd65ddf1984d66e978f0a11e7a4ea2d4eb20193c7 (diff)
downloadgit-b3ba46945d634d5c79dfa7a63b300a3007d1ca31.tar.gz
git-b3ba46945d634d5c79dfa7a63b300a3007d1ca31.tar.xz
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c
index 6b9061f26..23fc56d88 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);