"Detected x file renames" for copies

Subject: "Detected x file renames" for copies

Date: Wed, 31 Jan 2024 11:37:18 +0100

To: notmuch@notmuchmail.org

Cc:

From: Michael J Gruber


Hi there,

I noticed the following:
- have file f indexed by notmuch
- copy message file to a different folder using `notmuch insert --folder=Y < f`
- run notmuch new
This results in "Detected x file renames" if you do that for x files.

I have not checked whether this depends on folder names or on which
file copy notmuch considers as "the" message file. Probably this comes
from being able to find the message by filename or not in
notmuch.c:remove_filename().

I find "renames" confusing because it's the same message when you
actually move files, i.e. delete the original. But I"m wondering
whether it's worth investigating. I know not to be surprised now :)

Michael
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: