mergetool--lib: remove use of $status global