[PATCH v2 0/4] fix insufficient path canonization
Yuri Volchkov
yuri.volchkov at gmail.com
Mon Aug 21 08:44:44 PDT 2017
Former subject was 'fix "no such file" problem for emails send by
emacs'
Patches 1-2 fix the problem, so new broken records do not appear
anymore.
Patches 3-4 make notmuch able to work with such brocken records
Changes in v2:
1) Separate patch for introduction of the strip_trailing()
2) Reduced commit description for the patch "insert: strip trailing /
in folder path"
3) Proper use of 'test_subtest_known_broken' in the related tests
Yuri Volchkov (4):
database: move striping of trailing '/' into helper function
insert: strip trailing / in folder path
test: show id:<> works even if the first duplicate is deleted
show: workaround for the missing file problem
lib/database.cc | 3 +--
mime-node.c | 28 ++++++++++++++++++++++++----
notmuch-insert.c | 4 +++-
test/T070-insert.sh | 1 -
test/T670-duplicate-mid.sh | 25 +++++++++++++++++++++++++
util/string-util.c | 13 +++++++++++++
util/string-util.h | 2 ++
7 files changed, 68 insertions(+), 8 deletions(-)
--
2.7.4
More information about the notmuch
mailing list