fix show_status() for bare repo