Remove comments from post-up hook