summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-12-21 13:48:51 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-12-21 13:48:51 -0500
commitba02bab54366ef4a90eb9405e4d64a9e33c3fd82 (patch)
treedd9956e3aaf37347479ae59c4be4c33db606bbc0 /man
parent855249595ee15894d2c407457b77780611969f9d (diff)
downloadb4-ba02bab54366ef4a90eb9405e4d64a9e33c3fd82.tar.gz
Add -f to "b4 mbox" to filter dupes
When saving to a maildir, add option to filter out dupes. Note, that this requires going through the entire maildir to collect message-ids, so it's not going to be a great experience on large maildirs. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'man')
-rw-r--r--man/b4.55
-rw-r--r--man/b4.5.rst1
2 files changed, 5 insertions, 1 deletions
diff --git a/man/b4.5 b/man/b4.5
index 350c363..496525d 100644
--- a/man/b4.5
+++ b/man/b4.5
@@ -102,6 +102,9 @@ Instead of grabbing a thread from lore, process this mbox file
.TP
.B \-C\fP,\fB \-\-no\-cache
Do not use local cache
+.TP
+.B \-f\fP,\fB \-\-filter\-dupes
+When adding messages to existing maildir, filter out duplicates
.UNINDENT
.UNINDENT
.sp
@@ -341,7 +344,7 @@ Default configuration, with explanations:
.ft C
[b4]
# Where to look up threads by message id
- midmask = https://lore.kernel.org/r/%s\(aq
+ midmask = https://lore.kernel.org/r/%s
#
# When recording Link: trailers, use this mask
linkmask = https://lore.kernel.org/r/%s
diff --git a/man/b4.5.rst b/man/b4.5.rst
index e21ed71..ee05675 100644
--- a/man/b4.5.rst
+++ b/man/b4.5.rst
@@ -63,6 +63,7 @@ optional arguments:
-m LOCALMBOX, --use-local-mbox LOCALMBOX
Instead of grabbing a thread from lore, process this mbox file
-C, --no-cache Do not use local cache
+ -f, --filter-dupes When adding messages to existing maildir, filter out duplicates
*Example*: b4 mbox 20200313231252.64999-1-keescook@chromium.org