Giter VIP home page Giter VIP logo

mailtogit's People

Contributors

dvhart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mailtogit's Issues

formail incorrectly splits patch if Cc: tag present in body

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?

patches with "long" Subject lines are skipped

Example patch: Linux kernel commit f741bd7178c95abd7aeac5a9d933ee542f9a5509.

I think I've figured out the cause of the problem.

  1. 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
  1. formail -xSubject: output such Subject as is, i.e. with newline(s) in it
  2. sed removes (some) whitespace from each of those lines, but not newline(s), the result is
PATCH_iov_iter_Fix_iov_iter_extract_pages__with_zero-sized
entries.mbox
  1. procmail seems to ignore the 2nd line, and the patch is written to PATCH_iov_iter_Fix_iov_iter_extract_pages__with_zero-sized file
  2. This file is ignored by git-apply script (it picks only *.mbox files)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.