about summary refs log tree commit homepage
path: root/lib/PublicInbox/Admin.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2019-06-09 02:51:40 +0000
committerEric Wong <e@80x24.org>2019-06-09 04:33:16 +0000
commit60321ef7c5e8c2abc395bebadadf77d789a06945 (patch)
tree8847cb8fa5be942619d8ebcaf1956c10a8b298b8 /lib/PublicInbox/Admin.pm
parentcfff674918e8fc3e0763ac4818c07e0ba7fa716e (diff)
downloadpublic-inbox-60321ef7c5e8c2abc395bebadadf77d789a06945.tar.gz
v2writable: implement ->replace call
Much of the existing purge code is repurposed to a general
"replace" functionality.

->purge is simpler because it can just drop the information.
Unlike ->purge, ->replace needs to edit existing git commits (in
case of From: and Subject: headers) and reindex the modified
message.

We currently disallow editing of References:, In-Reply-To: and
Message-ID headers because it can cause bad side effects with
our threading (and our lack of rethreading support to deal with
excessive matching from incorrect/invalid References).
Diffstat (limited to 'lib/PublicInbox/Admin.pm')
0 files changed, 0 insertions, 0 deletions