mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 02:17:21 +02:00
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:
parent
9e5f1787d0
commit
c5427c91fc
3 changed files with 37 additions and 14 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue