]> Sergey Matveev's repositories - public-inbox.git/commit
edit: drop unwanted headers before noop check
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 10 Jun 2019 18:09:27 +0000 (18:09 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 10 Jun 2019 18:15:40 +0000 (18:15 +0000)
commitd377a9d2f972f85edf759a6c152ca49078baba38
treef83132370d608745f31b72482a379c11c8fbbc3f
parent6e507c8cb41b0d48963503a88034348d74506211
edit: drop unwanted headers before noop check

mutt will set Content-Length, Lines, and Status headers
unconditionally, so we need to account for that before
doing header comparisons to avoid making expensive changes
when noop edits are made.
script/public-inbox-edit
t/edit.t