Hi
I am calling the "diff -f" command with a ClientUser object of my own. My
experiment shows that ClientUser::Diff is not called if the files are identical
(no matter if the files are text or binary). Can anyone confirm or deny this?
I also found that the default implementation of ClientUser::Diff in the
clientuser.cc file. It starts with:
if( !f1->IsTextual() || !f2->IsTextual() )
{
if( f1->Compare( f2, e ) )
printf( "(... files differ ...)\n" );
return;
}
Isn't the call to Compare redundant if the files are already compared to be
different?
Thanks
Ivo