summaryrefslogtreecommitdiff
path: root/t/t5405-send-pack-rewind.sh
diff options
context:
space:
mode:
authorLibravatar Øystein Walle <oystwa@gmail.com>2021-04-15 14:33:53 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-15 12:52:49 -0700
commitf3cce896a8e14e4732f45a6ee46f77e7ed17a990 (patch)
tree6a9bc83a62fc730c80962f97690c6cd4854fbd16 /t/t5405-send-pack-rewind.sh
parentGit 2.31.1 (diff)
downloadtgif-f3cce896a8e14e4732f45a6ee46f77e7ed17a990.tar.xz
transport: respect verbosity when setting upstream
A command such as `git push -qu origin feature` will print "Branch 'feature' set up to track remote branch 'feature' from 'origin'." even when --quiet is passed. In this case it's because install_branch_config() is always called with BRANCH_CONFIG_VERBOSE. struct transport keeps track of the desired verbosity. Fix the above issue by passing BRANCH_CONFIG_VERBOSE conditionally based on that. Signed-off-by: Øystein Walle <oystwa@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5405-send-pack-rewind.sh')
0 files changed, 0 insertions, 0 deletions