mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
feat(discovery): add more info for renamed items
add original name add renamed name add target name should make it easier to analyze rename operations Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
ed48808fd9
commit
5bd6a25bb8
@ -236,7 +236,11 @@ void SyncFileStatusTracker::slotAboutToPropagate(SyncFileItemVector &items)
|
||||
std::swap(_syncProblems, oldProblems);
|
||||
|
||||
for (const auto &item : std::as_const(items)) {
|
||||
qCInfo(lcStatusTracker) << "Investigating" << item->destination() << item->_status << item->_instruction << item->_direction;
|
||||
if (item->_instruction == CSyncEnums::CSYNC_INSTRUCTION_RENAME) {
|
||||
qCInfo(lcStatusTracker) << "Investigating" << item->destination() << item->_status << item->_instruction << item->_direction << item->_file << item->_originalFile << item->_renameTarget;
|
||||
} else {
|
||||
qCInfo(lcStatusTracker) << "Investigating" << item->destination() << item->_status << item->_instruction << item->_direction;
|
||||
}
|
||||
_dirtyPaths.remove(item->destination());
|
||||
|
||||
if (hasErrorStatus(*item)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user