{"thread":{"id":"22617","subject":"[PATCH/RFC 0/4] Using git-mailsplit in mixed line ending environment","startedAt":"2010-02-11T18:13:16Z","lastAt":"2010-02-11T18:13:16Z","messageCount":1,"participants":["Stefan-W. Hahn"],"isPatch":true,"patchVersion":1,"patchTotal":4},"messages":[{"id":"134243","messageId":"20100211181316.GA15028@scotty.home","threadId":"22617","inReplyTo":null,"subject":"[PATCH/RFC 0/4] Using git-mailsplit in mixed line ending environment","fromName":"Stefan-W. Hahn","fromEmail":"stefan.hahn@s-hahn.de","sentAt":"2010-02-11T18:13:16Z","receivedAt":"2010-02-11T18:13:16Z","isPatch":true,"sender":{"key":"stefan.hahn@s-hahn.de","avatar":null},"body":"Hello,\n\nI'm using git in an environment with files having dos or unix line\nending. I apply patches using 'git format-patch ... | git am ...'.\nA change in git-mailsplit in commit c2ca1d79 introduced a change in\nthe default behaviour of git-mailsplit when splitting mbox patches. It\nmakes dos line endings to unix line endings. With this behaviour it is\nimpossible to apply patches, because there is no possibility to\nforward '--keep-cr' through git-am to git-mailsplit.\n\nThe following patches introduce the '--kepp-cr' parameter to git-am an\nan additional possibility to set '--keep-cr' via configuration for\ngit-mailsplit. Also I added missing description for '--keep-cr' of\ngit-mailsplit.\n\nStefan\n\nStefan-W. Hahn (4):\n  git-mailsplit: Show parameter '--keep-cr' in usage and documentation\n  git-mailsplit: add `mailsplit.keep-cr` configuration variable.\n  git-am: Add command line parameter `--keep-cr` passing it to\n    git-mailsplit.\n  Adding test for `--keep-cr` for git-mailsplit and git-am.\n\n Documentation/config.txt        |    4 ++\n Documentation/git-mailsplit.txt |    5 ++-\n builtin-mailsplit.c             |   12 ++++++-\n git-am.sh                       |   18 +++++++--\n t/t5101-mailinfo-dos.sh         |   75 +++++++++++++++++++++++++++++++++++++++\n 5 files changed, 108 insertions(+), 6 deletions(-)\n create mode 100644 t/t5101-mailinfo-dos.sh\n"}]}