dvhart / mailtogit Goto Github PK
View Code? Open in Web Editor NEWMutt patch management macros
Mutt patch management macros
Hi,
Thanks for these scripts!
I noticed that when formail detects a "Cc: " line in the email body (which is a frequently used method of copying people using git-send-email), the patch is split into 2 pieces, and a new ".mbox" file contains the second half. When procmail is used directly, it jumps properly over the "Cc: " line and outputs the entire mail into the same .mbox file. The disadvantage with invoking procmail directly is that I don't know how multiple emails could be converted to mbox at the same time (i.e. the "(t" command).
Have you noticed this behavior?
Example patch: Linux kernel commit f741bd7178c95abd7aeac5a9d933ee542f9a5509.
I think I've figured out the cause of the problem.
git-format-patch
splits long Subject/Cc over several lines, like this:Subject: [PATCH] iov_iter: Fix iov_iter_extract_pages() with zero-sized
entries
formail -xSubject:
output such Subject as is, i.e. with newline(s) in itPATCH_iov_iter_Fix_iov_iter_extract_pages__with_zero-sized
entries.mbox
PATCH_iov_iter_Fix_iov_iter_extract_pages__with_zero-sized
filegit-apply
script (it picks only *.mbox
files)A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.