Skip to content

Commit

Permalink
Followup to fddabe7 - should fix Grive#217
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalif committed Jul 28, 2018
1 parent f516356 commit 98d5b92
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libgrive/src/base/State.cc
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ void State::FromRemote( const Entry& e )
std::string k = e.IsDir() ? "folder" : "file";

// common checkings
if ( IsIgnore( e.Name() ) )
Log( "file %1% is ignored by griveignore", e.Name(), log::verbose ) ;
else if ( !e.IsDir() && ( fn.empty() || e.ContentSrc().empty() ) )
if ( !e.IsDir() && ( fn.empty() || e.ContentSrc().empty() ) )
Log( "%1% \"%2%\" is a google document, ignored", k, e.Name(), log::verbose ) ;

else if ( fn.find('/') != fn.npos )
Expand Down

0 comments on commit 98d5b92

Please sign in to comment.