tweaks to show_git and insert_log