Sync
- Added Path::operator== for expanded path comparisons. Why was that not already implemented? - Added checks that the push/pull destination is not equal to rc.data.location. That would be bad. - Added comments, tweaked the wording on some messages. Stubbed out confirmation of pull overwrite, while I think about it.
This commit is contained in:
@@ -66,6 +66,12 @@ Path& Path::operator= (const Path& other)
|
||||
return *this;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Path::operator== (const Path& other)
|
||||
{
|
||||
return data == other.data;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Path::operator std::string () const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user