Ignore errors when the selection is deleted
This commit is contained in:
parent
a34a109197
commit
206b4998e8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user