summaryrefslogtreecommitdiff
path: root/t/t9109-git-svn-multi-glob.sh
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2016-09-04 22:18:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-07 12:29:53 -0700
commit45b78d8ba3c9e542f1375171090fe10baef6b2b2 (patch)
tree285c8ce6701cc10b4f3c7b0f420cdd7435b39c5f /t/t9109-git-svn-multi-glob.sh
parentusage: add get_error_routine() and get_warn_routine() (diff)
downloadtgif-45b78d8ba3c9e542f1375171090fe10baef6b2b2.tar.xz
apply: change error_routine when silent
To avoid printing anything when applying with `state->apply_verbosity == verbosity_silent`, let's save the existing warn and error routines before applying, and let's replace them with a routine that does nothing. Then after applying, let's restore the saved routines. Note that, as we need to restore the saved routines in all cases, we cannot return early any more in apply_all_patches(). Helped-by: Stefan Beller <sbeller@google.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9109-git-svn-multi-glob.sh')
0 files changed, 0 insertions, 0 deletions