I've done some digging into the tr error message. I think the extra re-direction of stdin is unnecessary. I've removed it and the tests still pass. The error message I was seeing is no longer seen but I've found it hard to actually reproduce (even with different sized patches). I've also updated 'am: avoid re-directing stdin twice' to add some tests and only strip the description part of the patch. Chris Packham (2): am: add gitk patch format am: avoid re-directing stdin twice Documentation/git-am.txt | 3 ++- git-am.sh | 38 +++++++++++++++++++++++++++++++++++++- t/t4150-am.sh | 13 +++++++++++++ 3 files changed, 52 insertions(+), 2 deletions(-) -- 2.0.4.2.gadd452d -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html