Ignore errors when the selection is deleted

This commit is contained in:
Pierre Pronchery 2015-10-04 12:29:26 +02:00
parent a34a109197
commit 206b4998e8

View File

@ -300,7 +300,8 @@ static void _git_refresh(Git * git, GList * selection)
if(lstat(path, &st) != 0
|| (git->filename = strdup(path)) == NULL)
{
_refresh_error(git, path);
if(errno != ENOENT)
_refresh_error(git, path);
return;
}
p = g_filename_display_basename(path);