Report errors when initializing repositories

This commit is contained in:
Pierre Pronchery 2015-10-04 02:15:00 +02:00
parent 92f2770c6f
commit d84f83e1cd

View File

@ -550,6 +550,9 @@ static void _init_on_callback(Git * git, CommonTask * task, int ret)
if(ret == 0)
/* refresh upon success */
git->helper->refresh(git->helper->browser);
else
_common_task_message(task, GTK_MESSAGE_ERROR,
_("Could not initialize repository"), 1);
}