mirror of https://github.com/vitalif/grive2
Followup to fddabe760f
- should fix #217
parent
f516356d33
commit
98d5b92e5d
|
@ -162,9 +162,7 @@ void State::FromRemote( const Entry& e )
|
||||||
std::string k = e.IsDir() ? "folder" : "file";
|
std::string k = e.IsDir() ? "folder" : "file";
|
||||||
|
|
||||||
// common checkings
|
// common checkings
|
||||||
if ( IsIgnore( e.Name() ) )
|
if ( !e.IsDir() && ( fn.empty() || e.ContentSrc().empty() ) )
|
||||||
Log( "file %1% is ignored by griveignore", e.Name(), log::verbose ) ;
|
|
||||||
else if ( !e.IsDir() && ( fn.empty() || e.ContentSrc().empty() ) )
|
|
||||||
Log( "%1% \"%2%\" is a google document, ignored", k, e.Name(), log::verbose ) ;
|
Log( "%1% \"%2%\" is a google document, ignored", k, e.Name(), log::verbose ) ;
|
||||||
|
|
||||||
else if ( fn.find('/') != fn.npos )
|
else if ( fn.find('/') != fn.npos )
|
||||||
|
|
Loading…
Reference in New Issue